Check-in [d99bfde8a7]
Overview
Comment:Added Tk 8.4 and Tk 8.5 builds -- Tk 8.4 needs patches still
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d99bfde8a7842d7dae7929a24e304e09c5853f8e
User & Date: rkeene on 2011-09-05 19:57:50
Other Links: manifest | tags
Context
2011-09-05
20:05
Added patches to Tcl 8.4 to make it usable check-in: 091e09e209 user: rkeene tags: trunk
19:57
Added Tk 8.4 and Tk 8.5 builds -- Tk 8.4 needs patches still check-in: d99bfde8a7 user: rkeene tags: trunk
2011-07-27
14:39
Updated SQLite3 description to include R*Tree notice check-in: 180730d89c user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [8eb7a27854] to [66926c64ea].

1
2
3
4
5
6
7
8












9
10
11
12
13
14
15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27








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







client/teapot-client.kit
client/teapot-client.kit/*
server/buildpkgs/Tclx/build
server/buildpkgs/Tclx/build/*
server/buildpkgs/Tclx/out
server/buildpkgs/Tclx/out/*
server/buildpkgs/Tclx/src
server/buildpkgs/Tclx/src/*
server/buildpkgs/Tk84/build
server/buildpkgs/Tk84/build/*
server/buildpkgs/Tk84/out
server/buildpkgs/Tk84/out/*
server/buildpkgs/Tk84/src
server/buildpkgs/Tk84/src/*
server/buildpkgs/Tk85/build
server/buildpkgs/Tk85/build/*
server/buildpkgs/Tk85/out
server/buildpkgs/Tk85/out/*
server/buildpkgs/Tk85/src
server/buildpkgs/Tk85/src/*
server/buildpkgs/dbus-tcl/build
server/buildpkgs/dbus-tcl/build/*
server/buildpkgs/dbus-tcl/out
server/buildpkgs/dbus-tcl/out/*
server/buildpkgs/dbus-tcl/src
server/buildpkgs/dbus-tcl/src/*
server/buildpkgs/dict/build

Added server/buildpkgs/Tk84/build.sh version [a8e897cdb5].
























































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
50
51
52
53
54
55
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /bin/bash

# Define parameters
VERS=8.4.19
SRC="src/tk${VERS}-src.tar.gz"
SRCURL="http://prdownloads.sourceforge.net/tcl/tk${VERS}-src.tar.gz"
BUILDDIR="tk${VERS}"
export VERS SRC SRCURL BUILDDIR

# Load common functions
source ../common.sh

# Do not build if the "tcl" platform has been requested
not_platforms 'tcl'

# Download source
download_src

# Build package
(
	rm -rf build
	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
	mkdir build

	cd build/ || exit 1

	gzip -dc "../${SRC}" | tar -xf -
	cd "${BUILDDIR}" || exit 1

	TCL_PLAT_BUILD_DIR="$(basename "${TCLBUILDDIR}")"

	cd "${TCL_PLAT_BUILD_DIR}" || exit 1

	bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}

	${MAKE:-make} || exit 1

	${MAKE:-make} install || exit 1

	mv "${PLATDIR}"/lib/tk8.4/* "${PLATDIR}/"

	cat << \_EOF_ > "${PLATDIR}/pkgIndex.tcl"
if {[package vcompare [package provide Tcl] 8.4] != 0} { return }
package ifneeded Tk 8.4 "[list set tk_library $dir]; [list load [file join $dir libtk8.4.so] Tk]"
_EOF_

	rm -f "${PLATDIR}"/*.a
	rm -f "${PLATDIR}/tkConfig.sh" "${PLATDIR}/wish8.4"
	rm -rf "${PLATDIR}/man" "${PLATDIR}/include" "${PLATDIR}/tk8.4" "${PLATDIR}/demos" "${PLATDIR}/lib"
) || exit 1

# Create metadata
../create_teapot "${PLATDIR}/teapot.txt" "Tk" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl ${VERS}" "Cross-platform widget toolkit that provides a library of basic elements for building a graphical user interface (GUI)."

exit 0

Added server/buildpkgs/Tk85/build.sh version [77bc34c6c2].



























































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
50
51
52
53
54
55
56
57
58
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /bin/bash

# Define parameters
VERS=8.5.10
SRC="src/tk${VERS}-src.tar.gz"
SRCURL="http://prdownloads.sourceforge.net/tcl/tk${VERS}-src.tar.gz"
BUILDDIR="tk${VERS}"
export VERS SRC SRCURL BUILDDIR

# Load common functions
source ../common.sh

# Do not build if the "tcl" platform has been requested
not_platforms 'tcl'

# Require Tcl 8.5 to build
setup_tcl85

# Download source
download_src

# Build package
(
	rm -rf build
	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
	mkdir build

	cd build/ || exit 1

	gzip -dc "../${SRC}" | tar -xf -
	cd "${BUILDDIR}" || exit 1

	TCL_PLAT_BUILD_DIR="$(basename "${TCLBUILDDIR}")"

	cd "${TCL_PLAT_BUILD_DIR}" || exit 1

	bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}

	${MAKE:-make} || exit 1

	${MAKE:-make} install || exit 1

	cat << \_EOF_ | sed 's|@@VERS@@|'"${VERS}"'|g' > "${PLATDIR}/pkgIndex.tcl"
if {[catch {package present Tcl 8.5.0}]} { return }
package ifneeded Tk @@VERS@@ "[list set tk_library $dir]; [list load [file join $dir libtk8.5.so] Tk]"
_EOF_

	mv "${PLATDIR}"/lib/tk8.5/* "${PLATDIR}/"

	rm -f "${PLATDIR}"/*.a
	rm -f "${PLATDIR}/tkConfig.sh" "${PLATDIR}/wish8.5"
	rm -rf "${PLATDIR}/man" "${PLATDIR}/include" "${PLATDIR}/tk8.5" "${PLATDIR}/demos" "${PLATDIR}/lib"
) || exit 1

# Create metadata
../create_teapot "${PLATDIR}/teapot.txt" "Tk" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl ${VERS}" "Cross-platform widget toolkit that provides a library of basic elements for building a graphical user interface (GUI)."

exit 0