Check-in [a0f6913a43]
Overview
Comment:Changed the default action to remove all encodings (except 8)

Removed tcltest package from Tclkit

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a0f6913a439bbf20824ce6cb0c980e4c1e8d74ef
User & Date: rkeene on 2010-09-26 04:41:48
Other Links: manifest | tags
Context
2010-09-26
04:41
Updated to include all encodings by default, but support including only the 8 from original Tclkit check-in: bf4e895d30 user: rkeene tags: trunk
04:41
Changed the default action to remove all encodings (except 8)

Removed tcltest package from Tclkit check-in: a0f6913a43 user: rkeene tags: trunk

04:41
Fixed typo in previous commit check-in: 12229dcfc4 user: rkeene tags: trunk
Changes

Modified README from [92c264cba0] to [0ee71da19f].

80
81
82
83
84
85
86





87
88
89
90
91
92
93
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98







+
+
+
+
+







	6. KITCREATOR_PKGS
		Specify which non-required packages to build.  The default list
		is:
			tk itcl mk4tcl
		If mk4tcl is not present a pure-Tcl implementation will be used
		instead.

	7. KITCREATOR_ALLENCODINGS
		Set this variable to a non-empty string to generate a Tclkit
		with all encodings rather than the default 8:
			ascii.enc cp1252.enc iso8859-1.enc iso8859-15.enc
			iso8859-2.enc koi8-r.enc macRoman.enc

-------------------
Method of Operation
-------------------
Summary:
	1. "kitcreator" calls */build.sh
	2. */build.sh downloads and compiles appropriate software

Modified tcl/build.sh from [6599bcea65] to [f2cbd6ff95].

81
82
83
84
85
86
87






















88
89
90
91
92
93
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
109
110
111
112
113
114
115







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+






		)

		mkdir "${OUTDIR}/lib" || exit 1
		cp -r "${INSTDIR}/lib"/* "${OUTDIR}/lib/"
		rm -rf "${OUTDIR}/lib/pkgconfig"
		rm -f "${OUTDIR}"/lib/* >/dev/null 2>/dev/null
		find "${OUTDIR}" -name '*.a' | xargs rm -f >/dev/null 2>/dev/null

		# Clean up packages that are not needed
		find "${OUTDIR}" -name "tcltest*" -type d | xargs rm -rf

		# Clean up encodings
		if [ -z "${KITCREATOR_ALLENCODINGS}" ]; then
			KEEPENCODINGS=" ascii.enc cp1252.enc iso8859-1.enc iso8859-15.enc iso8859-2.enc koi8-r.enc macRoman.enc "
			export KEEPENCODINGS
			find "${OUTDIR}/lib" -name 'encoding' -type d | while read encdir; do
				(
					cd "${encdir}" || exit 1

					for file in *; do
						if echo " ${KEEPENCODINGS} " | grep " ${file} " >/dev/null; then
							continue
						fi

						rm -f "${file}"
					done
				)
			done
		fi

		break
	done
) || exit 1

exit 0