| Comment: | Updated to use common download infrastructure | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | 
| Files: | files | file ages | folders | 
| SHA1: | 
6f9977f1216f1287394e24988a09144e | 
| User & Date: | rkeene on 2016-02-24 19:38:52 | 
| Other Links: | manifest | tags | 
| 
   2016-02-24 
 | ||
| 19:39 | Added common downloader script check-in: d9b5ef323c user: rkeene tags: trunk | |
| 19:38 | Updated to use common download infrastructure check-in: 6f9977f121 user: rkeene tags: trunk | |
| 
   2016-02-12 
 | ||
| 16:56 | Start testing 8.5.19 check-in: 70021142fe user: rkeene tags: trunk | |
Modified dbus/build.sh from [f52d4218f1] to [9243806e9e].
| ︙ | ︙ | |||
33 34 35 36 37 38 39  | 
LIBS="${LIBS} ${KC_DBUS_LIBS}"
export LDFLAGS CFLAGS CPPFLAGS LIBS
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | < | <  | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47  | 
LIBS="${LIBS} ${KC_DBUS_LIBS}"
export LDFLAGS CFLAGS CPPFLAGS LIBS
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified itcl/build.sh from [a91c158a0c] to [6bc2ce1219].
| ︙ | ︙ | |||
55 56 57 58 59 60 61  | 
	exit 1
) || exit 0
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | < | <  | 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69  | 
	exit 1
) || exit 0
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified kitcreator from [4ae47ac847] to [80b004ba4a].
| ︙ | ︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29  | TCLVERS="8.6.4" if echo "$1" | grep '^[0-9][0-9]*\.' >/dev/null || echo "$1" | egrep '^(cvs|fossil)_' >/dev/null; then TCLVERS="$1" shift fi export TCLVERS # Verify that "pre.sh" has been run if this is a development snapshot of # KitCreator if [ -f 'build/pre.sh' ]; then if ! find 'kitsh/buildsrc/' -name configure -type f 2>/dev/null | grep configure >/dev/null; then echo "Please remember to run 'build/pre.sh' if you expect this build to work." >&2 fi  | > > > >  | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33  | 
TCLVERS="8.6.4"
if echo "$1" | grep '^[0-9][0-9]*\.' >/dev/null || echo "$1" | egrep '^(cvs|fossil)_' >/dev/null; then
	TCLVERS="$1"
	shift
fi
export TCLVERS
# Add the helpers directory to the path
PATH="$(dirname "$(which "$0")")"/common/helpers:"${PATH}"
export PATH
# Verify that "pre.sh" has been run if this is a development snapshot of
# KitCreator
if [ -f 'build/pre.sh' ]; then
	if ! find 'kitsh/buildsrc/' -name configure -type f 2>/dev/null | grep configure >/dev/null; then
		echo "Please remember to run 'build/pre.sh' if you expect this build to work." >&2
	fi
 | 
| ︙ | ︙ | 
Modified mk4tcl/build.sh from [c5265584d3] to [5fd2ea249e].
| ︙ | ︙ | |||
38 39 40 41 42 43 44  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | < | <  | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified nsf/build.sh from [08cdee6d2a] to [bff94825d0].
| ︙ | ︙ | |||
30 31 32 33 34 35 36  | 
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -f "${SRC}" ]; then
    mkdir 'src' >/dev/null 2>/dev/null
    
    if [ ! -d 'buildsrc' ]; then
 | < | <  | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44  | 
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -f "${SRC}" ]; then
    mkdir 'src' >/dev/null 2>/dev/null
    
    if [ ! -d 'buildsrc' ]; then
	download "${SRCURL}" "${SRC}" - || exit 1
    fi
fi
(
    cd 'build' || exit 1
    
    if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified tcc4tcl/build.sh from [a8c1cbf0ad] to [5a95feee8a].
| ︙ | ︙ | |||
36 37 38 39 40 41 42  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | | < <  | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}.tmp" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified tcl/build.sh from [a0fc7f495f] to [d77e5eb40c].
| ︙ | ︙ | |||
61 62 63 64 65 66 67  | 
			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
			rm -rf "${workdir}"
			mkdir "${workdir}" || exit 1
			cd "${workdir}" || exit 1
			# Handle Tcl first, since it will be used to base other packages on
 | | | | | | |  | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107  | 
			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
			rm -rf "${workdir}"
			mkdir "${workdir}" || exit 1
			cd "${workdir}" || exit 1
			# Handle Tcl first, since it will be used to base other packages on
			download "http://core.tcl.tk/tcl/tarball/tcl-fossil.tar.gz?uuid=${FOSSILTAG}" "tmp-tcl.tar.gz" - || rm -f 'tmp-tcl.tar.gz'
			gzip -dc 'tmp-tcl.tar.gz' | tar -xf -
			mv "tcl-fossil" "tcl${TCLVERS}"
			# Determine date of this Tcl release and use that date for all other dependent packages
			## Unless the release we are talking about is "trunk", in which case we use that everywhere
			if [ "${FOSSILTAG}" = "trunk" ]; then
				FOSSILDATE="${FOSSILTAG}"
			else
				FOSSILDATE="$(echo 'cd "tcl'"${TCLVERS}"'"; set file [lindex [glob *] 0]; file stat $file finfo; set date $finfo(mtime); set date [expr {$date + 1}]; puts [clock format $date -format {%Y-%m-%dT%H:%M:%S}]' | TZ='UTC' "${TCLSH_NATIVE}")"
			fi
			## If we are unable to determine the modification date, fall-back to the tag and hope for the best
			if [ -z "${FOSSILDATE}" ]; then
				FOSSILDATE="${FOSSILTAG}"
			fi
			# Handle other packages
			download "http://core.tcl.tk/itcl/tarball/itcl-fossil.tar.gz?uuid=${FOSSILDATE}" "tmp-itcl.tar.gz" - || rm -f 'tmp-itcl.tar.gz'
			download "http://core.tcl.tk/thread/tarball/thread-fossil.tar.gz?uuid=${FOSSILDATE}" "tmp-thread.tar.gz" - || rm -f "tmp-thread.tar.gz"
			download "http://core.tcl.tk/tclconfig/tarball/tclconfig-fossil.tar.gz?uuid=${FOSSILDATE}" "tmp-tclconfig.tar.gz" - || rm -f "tmp-tclconfig.tar.gz"
			if [ "${FOSSILDATE}" = "trunk" ] || [ "$(echo "${FOSSILDATE}" | cut -f 1 -d '-')" -ge '2012' ]; then
				_USE_TDBC='1'
				_USE_SQLITE='1'
				SQLITEVERS='3071401'
			fi
			if [ "${_USE_TDBC}" = '1' ]; then
				download "http://core.tcl.tk/tdbc/tarball/tdbc-fossil.tar.gz?uuid=${FOSSILDATE}" "tmp-tdbc.tar.gz" - || rm -f "tmp-tdbc.tar.gz"
			fi
			if [ "${_USE_SQLITE}" = '1' ]; then
				download "http://www.sqlite.org/sqlite-autoconf-${SQLITEVERS}.tar.gz" "tmp-sqlite3.tar.gz" - || rm -f "tmp-sqlite3.tar.gz"
			fi
			gzip -dc "tmp-itcl.tar.gz" | tar -xf -
			gzip -dc "tmp-thread.tar.gz" | tar -xf -
			gzip -dc "tmp-tclconfig.tar.gz" | tar -xf -
			mkdir -p "tcl${TCLVERS}/pkgs/" >/dev/null 2>/dev/null
 | 
| ︙ | ︙ | |||
147 148 149 150 151 152 153  | 
			cd ..
			rm -rf "${workdir}"
		) || exit 1
	else
		if [ ! -d 'buildsrc' ]; then
 | < | < < < < <  | 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166  | 
			cd ..
			rm -rf "${workdir}"
		) || exit 1
	else
		if [ ! -d 'buildsrc' ]; then
			download "${SRCURL}" "${SRC}" - || (
				echo '  Unable to download source code for Tcl.' >&4
				echo '  Aborting Tcl -- further packages will likely also fail.' >&4
				exit 1
			) || exit 1
		fi
	fi
fi
(
	cd 'build' || exit 1
 | 
| ︙ | ︙ | 
Modified tcllib/build.sh from [d804d69dc7] to [7e265f11b2].
| ︙ | ︙ | |||
12 13 14 15 16 17 18  | 
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | < | <  | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26  | 
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified tclvfs/build.sh from [7e37283f7c] to [55e0cfef36].
| ︙ | ︙ | |||
36 37 38 39 40 41 42  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | < | <  | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified tclx/build.sh from [e8fda61b35] to [48e26ee9c7].
| ︙ | ︙ | |||
36 37 38 39 40 41 42  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | < | <  | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified thread/build.sh from [b4f11c7a4a] to [7585e00eba].
| ︙ | ︙ | |||
54 55 56 57 58 59 60  | 
	exit 1
) || exit 0
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | < | <  | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68  | 
	exit 1
) || exit 0
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified tk/build.sh from [bb348ac8e4] to [6d3a5c12f3].
| ︙ | ︙ | |||
77 78 79 80 81 82 83  | 
			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
			rm -rf "${workdir}"
			mkdir "${workdir}" || exit 1
			cd "${workdir}" || exit 1
 | | | < | <  | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108  | 
			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
			rm -rf "${workdir}"
			mkdir "${workdir}" || exit 1
			cd "${workdir}" || exit 1
			download "http://core.tcl.tk/tk/tarball/tk-fossil.tar.gz?uuid=${FOSSILTAG}" "tmp-tk.tar.gz" - || rm -f 'tmp-tk.tar.gz'
			gzip -dc "tmp-tk.tar.gz" | tar -xf - || rm -f 'tmp-tk.tar.gz'
			if [ ! -s 'tmp-tk.tar.gz' ]; then
				download "http://core.tcl.tk/tk/tarball/tk-fossil.tar.gz?uuid=${FOSSILDATE}" "tmp-tk.tar.gz" - || rm -f 'tmp-tk.tar.gz'
				gzip -dc "tmp-tk.tar.gz" | tar -xf -
			fi
			mv "tk-fossil" "tk${TCLVERS}"
                        
			tar -cf - "tk${TCLVERS}" | gzip -c > "../../${SRC}"
			cd ..
			rm -rf "${workdir}"
		)
	else
		if [ ! -d 'buildsrc' ]; then
			download "${SRCURL}" "${SRC}" - || exit 1
		fi
	fi
fi
(
	cd 'build' || exit 1
 | 
| ︙ | ︙ | 
Modified tls/build.sh from [eaa77b3a1b] to [2d1611de7f].
| ︙ | ︙ | |||
36 37 38 39 40 41 42  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | < | <  | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified udp/build.sh from [0751b83164] to [1eface7444].
| ︙ | ︙ | |||
36 37 38 39 40 41 42  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | < | <  | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50  | 
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified yajltcl/build.sh from [4f55cc724b] to [0ac8109c1f].
| ︙ | ︙ | |||
34 35 36 37 38 39 40  | 
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -d 'buildsrc' ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -f "${SRC}" ]; then
 | < | < | < <  | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52  | 
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -d 'buildsrc' ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -f "${SRC}" ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
	if [ ! -f "${YAJLSRC}" ]; then
		download "${YAJLSRCURL}" "${YAJLSRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ | 
Modified zlib/build.sh from [e9c0794475] to [ad6eceef53].
| ︙ | ︙ | |||
29 30 31 32 33 34 35  | 
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
 | < | <  | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43  | 
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null
	if [ ! -d 'buildsrc' ]; then
		download "${SRCURL}" "${SRC}" - || exit 1
	fi
fi
(
	cd 'build' || exit 1
	if [ ! -d '../buildsrc' ]; then
 | 
| ︙ | ︙ |