Check-in [3d4318cfe7]
Overview
Comment:Added support for TCLVERS beginning with "cvs_" to indicate a CVS version of Tcl/Tk
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:3d4318cfe705a43e0ac719e254969eaa09ce9cb1
User & Date: rkeene on 2010-09-26 04:38:25
Other Links: manifest | tags
Context
2010-09-26
04:38
Added patches for TCLVFS on Tcl 8.6 check-in: 1ebcac2a8b user: rkeene tags: trunk
04:38
Added support for TCLVERS beginning with "cvs_" to indicate a CVS version of Tcl/Tk check-in: 3d4318cfe7 user: rkeene tags: trunk
04:38
Added support for not building under newer versions of Tcl check-in: 0282bb8da7 user: rkeene tags: trunk
Changes

Modified tcl/build.sh from [26f8c086a9] to [1a666efbfb].

20
21
22
23
24
25
26














27

28
29
30
31
32
33
34

rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1

if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null















	wget -O "${SRC}" "${SRCURL}" || exit 1

fi

(
	cd 'build' || exit 1

	gzip -dc "../${SRC}" | tar -xf -








>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1

if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null

	if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then
		CVSTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
		export CVSTAG

		(
			cd src || exit 1

			cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co -r "${CVSTAG}" -P tcl

			mv tcl "tcl${TCLVERS}"

			tar -cf - "tcl${TCLVERS}" | gzip -c > "../${SRC}"
		)
	else
		wget -O "${SRC}" "${SRCURL}" || exit 1
	fi
fi

(
	cd 'build' || exit 1

	gzip -dc "../${SRC}" | tar -xf -

Modified tk/build.sh from [cdf646bab2] to [817f12a8b2].

20
21
22
23
24
25
26














27

28
29
30
31
32
33
34

rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1

if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null















	wget -O "${SRC}" "${SRCURL}" || exit 1

fi

(
	cd 'build' || exit 1

	gzip -dc "../${SRC}" | tar -xf -








>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1

if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null

	if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then
		CVSTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
		export CVSTAG

		(       
			cd src || exit 1

			cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tktoolkit co -r "${CVSTAG}" -P tk

			mv tk "tk${TCLVERS}"

			tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"
		)
	else    
		wget -O "${SRC}" "${SRCURL}" || exit 1
	fi
fi

(
	cd 'build' || exit 1

	gzip -dc "../${SRC}" | tar -xf -