Check-in [84e5f3847a]
Overview
SHA1:84e5f3847ad121c5e978d55dedc36ed7fd94bea7
Date: 2011-03-16 17:23:07
User: rkeene
Comment:Updated to pull tarballs from Fossil rather than zip files, as these preserve executable permissions

Updated to pull Tcl and Tk from "core.tcl.tk" rather than from local mirror

Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2011-04-15
20:38
[f892d49db3] Updated to pull "tclconfig" and "thread" from core.tcl.tk

Updated to download CVS/Fossil into a temporary directory (user: rkeene, tags: trunk)

2011-03-16
17:23
[84e5f3847a] Updated to pull tarballs from Fossil rather than zip files, as these preserve executable permissions

Updated to pull Tcl and Tk from "core.tcl.tk" rather than from local mirror (user: rkeene, tags: trunk)

2011-03-13
17:04
[a52f177157] Minor wording update on publish-tests (user: rkeene, tags: trunk)
Changes

Modified tcl/build.sh from [49efe2ef77] to [e5124a01c0].

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46




47
48

49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

73
74
75
76
77
78
79
			CVSTAG="trunk"
		fi
		export CVSTAG

		(
			cd src || exit 1

			rm -f "tmp-tcl.zip" "tmp-itcl.zip" "tmp-thread.zip" "tmp-tclconfig.zip"
			wget -O "tmp-tcl.zip" "http://rkeene.org/projects/tcl/tcl.fossil/zip/tcl-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tcl.zip"
			wget -O "tmp-itcl.zip" "http://rkeene.org/projects/tcl/itcl.fossil/zip/itcl-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-itcl.zip"
			wget -O "tmp-thread.zip" "http://rkeene.org/projects/tcl/thread.fossil/zip/thread-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-thread.zip"
			wget -O "tmp-tclconfig.zip" "http://rkeene.org/projects/tcl/tclconfig.fossil/zip/tclconfig-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tclconfig.zip"

			unzip "tmp-tcl.zip"
			rm -f "tmp-tcl.zip"





			unzip "tmp-itcl.zip"

			rm -f "tmp-itcl.zip"

			unzip "tmp-thread.zip"
			rm -f "tmp-thread.zip"

			unzip "tmp-tclconfig.zip"
			rm -f "tmp-tclconfig.zip"

			rm -rf "tcl${TCLVERS}"
			mv "tcl-${CVSTAG}" "tcl${TCLVERS}"
			mv "itcl-${CVSTAG}" "tcl${TCLVERS}/pkgs/itcl"
			mv "thread-${CVSTAG}" "tcl${TCLVERS}/pkgs/thread"
			cp -r "tclconfig-${CVSTAG}" "tcl${TCLVERS}/pkgs/itcl/tclconfig"
			cp -r "tclconfig-${CVSTAG}" "tcl${TCLVERS}/pkgs/thread/tclconfig"
			mv "tclconfig-${CVSTAG}" "tcl${TCLVERS}/tclconfig"

			if [ -d "tcl${TCLVERS}" ]; then
				find "tcl${TCLVERS}" -name configure -type f | xargs chmod +x
				find "tcl${TCLVERS}" '(' -name install-sh -o -name install.sh ')' -type f | xargs chmod +x

				tar -cf - "tcl${TCLVERS}" | gzip -c > "../${SRC}"
			fi

			rm -f "tmp-tcl.zip" "tmp-itcl.zip" "tmp-thread.zip" "tmp-tclconfig.zip"

			rm -rf "tcl-${CVSTAG}" "itcl-${CVSTAG}" "thread-${CVSTAG}" "tclconfig-${CVSTAG}"
			rm -rf "tcl${TCLVERS}"
		)
	else
		rm -f "${SRC}.tmp"
		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
		mv "${SRC}.tmp" "${SRC}"







|
|
|
|
|

|
|
>
>
>
>

<
>
|

|
|

|
|









<
<
<
<
|
<

<
>







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68




69

70

71
72
73
74
75
76
77
78
			CVSTAG="trunk"
		fi
		export CVSTAG

		(
			cd src || exit 1

			rm -f "tmp-tcl.tar.gz" "tmp-itcl.tar.gz" "tmp-thread.tar.gz" "tmp-tclconfig.tar.gz"
			wget -O "tmp-tcl.tar.gz" "http://core.tcl.tk/tcl/tarball/tcl-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-tcl.tar.gz'
			wget -O "tmp-itcl.tar.gz" "http://rkeene.org/projects/tcl/itcl.fossil/tarball/itcl-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-itcl.tar.gz'
			wget -O "tmp-thread.tar.gz" "http://rkeene.org/projects/tcl/thread.fossil/tarball/thread-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f "tmp-thread.tar.gz"
			wget -O "tmp-tclconfig.tar.gz" "http://rkeene.org/projects/tcl/tclconfig.fossil/tarball/tclconfig-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f "tmp-tclconfig.tar.gz"

			gzip -dc 'tmp-tcl.tar.gz' | tar -xf -
			rm -f "tmp-tcl.tar.gz"
			if [ -d "tcl-${CVSTAG}.tar" ]; then
				rm -rf "tcl-${CVSTAG}"
				mv "tcl-${CVSTAG}.tar" "tcl-${CVSTAG}"
			fi


			gzip -dc "tmp-itcl.tar.gz" | tar -xf -
			rm -f "tmp-itcl.tar.gz"

			gzip -dc "tmp-thread.tar.gz" | tar -xf -
			rm -f "tmp-thread.tar.gz"

			gzip -dc "tmp-tclconfig.tar.gz" | tar -xf -
			rm -f "tmp-tclconfig.tar.gz"

			rm -rf "tcl${TCLVERS}"
			mv "tcl-${CVSTAG}" "tcl${TCLVERS}"
			mv "itcl-${CVSTAG}" "tcl${TCLVERS}/pkgs/itcl"
			mv "thread-${CVSTAG}" "tcl${TCLVERS}/pkgs/thread"
			cp -r "tclconfig-${CVSTAG}" "tcl${TCLVERS}/pkgs/itcl/tclconfig"
			cp -r "tclconfig-${CVSTAG}" "tcl${TCLVERS}/pkgs/thread/tclconfig"
			mv "tclconfig-${CVSTAG}" "tcl${TCLVERS}/tclconfig"





			tar -cf - "tcl${TCLVERS}" | gzip -c > "../${SRC}"



			rm -f "tmp-tcl.tar.gz" "tmp-itcl.tar.gz" "tmp-thread.tar.gz" "tmp-tclconfig.tar.gz"
			rm -rf "tcl-${CVSTAG}" "itcl-${CVSTAG}" "thread-${CVSTAG}" "tclconfig-${CVSTAG}"
			rm -rf "tcl${TCLVERS}"
		)
	else
		rm -f "${SRC}.tmp"
		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
		mv "${SRC}.tmp" "${SRC}"

Modified tk/build.sh from [b819ea7b3f] to [e21d739f84].

40
41
42
43
44
45
46
47
48
49


50




51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
			CVSTAG="trunk"
		fi
		export CVSTAG

		(       
			cd src || exit 1

			rm -f "tmp-tk.zip"
			wget -O "tmp-tk.zip" "http://rkeene.org/projects/tcl/tk.fossil/zip/tk-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tk.zip"
			unzip "tmp-tk.zip"


			rm -f "tmp-tk.zip"





			rm -rf "tk${TCLVERS}"
			mv "tk-${CVSTAG}" "tk${TCLVERS}"
                        
			if [ -d "tk${TCLVERS}" ]; then
				find "tk${TCLVERS}" -name configure -type f | xargs chmod +x
                                
				tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"
			fi

			rm -f "tmp-tk.zip"
			rm -rf "tk-${CVSTAG}"
			rm -rf "tk${TCLVERS}"
		)
	else
		rm -f "${SRC}.tmp"
		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
		mv "${SRC}.tmp" "${SRC}"







|
|
<
>
>
|
>
>
>
>




<
<
<
|
<

|







40
41
42
43
44
45
46
47
48

49
50
51
52
53
54
55
56
57
58
59



60

61
62
63
64
65
66
67
68
69
			CVSTAG="trunk"
		fi
		export CVSTAG

		(       
			cd src || exit 1

			rm -f "tmp-tk.tar.gz"
			wget -O "tmp-tk.tar.gz" "http://core.tcl.tk/tk/tarball/tk-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-tk.tar.gz'


			gzip -dc "tmp-tk.tar.gz" | tar -xf -
			rm -f "tmp-tk.tar.gz"
			if [ -d "tk-${CVSTAG}.tar" ]; then
				rm -rf "tk-${CVSTAG}"
				mv "tk-${CVSTAG}.tar" "tk-${CVSTAG}"
			fi

			rm -rf "tk${TCLVERS}"
			mv "tk-${CVSTAG}" "tk${TCLVERS}"
                        



			tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"


			rm -f "tmp-tk.tar.gz"
			rm -rf "tk-${CVSTAG}"
			rm -rf "tk${TCLVERS}"
		)
	else
		rm -f "${SRC}.tmp"
		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
		mv "${SRC}.tmp" "${SRC}"