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].

     2      2   client/teapot-client.kit/*
     3      3   server/buildpkgs/Tclx/build
     4      4   server/buildpkgs/Tclx/build/*
     5      5   server/buildpkgs/Tclx/out
     6      6   server/buildpkgs/Tclx/out/*
     7      7   server/buildpkgs/Tclx/src
     8      8   server/buildpkgs/Tclx/src/*
            9  +server/buildpkgs/Tk84/build
           10  +server/buildpkgs/Tk84/build/*
           11  +server/buildpkgs/Tk84/out
           12  +server/buildpkgs/Tk84/out/*
           13  +server/buildpkgs/Tk84/src
           14  +server/buildpkgs/Tk84/src/*
           15  +server/buildpkgs/Tk85/build
           16  +server/buildpkgs/Tk85/build/*
           17  +server/buildpkgs/Tk85/out
           18  +server/buildpkgs/Tk85/out/*
           19  +server/buildpkgs/Tk85/src
           20  +server/buildpkgs/Tk85/src/*
     9     21   server/buildpkgs/dbus-tcl/build
    10     22   server/buildpkgs/dbus-tcl/build/*
    11     23   server/buildpkgs/dbus-tcl/out
    12     24   server/buildpkgs/dbus-tcl/out/*
    13     25   server/buildpkgs/dbus-tcl/src
    14     26   server/buildpkgs/dbus-tcl/src/*
    15     27   server/buildpkgs/dict/build

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

            1  +#! /bin/bash
            2  +
            3  +# Define parameters
            4  +VERS=8.4.19
            5  +SRC="src/tk${VERS}-src.tar.gz"
            6  +SRCURL="http://prdownloads.sourceforge.net/tcl/tk${VERS}-src.tar.gz"
            7  +BUILDDIR="tk${VERS}"
            8  +export VERS SRC SRCURL BUILDDIR
            9  +
           10  +# Load common functions
           11  +source ../common.sh
           12  +
           13  +# Do not build if the "tcl" platform has been requested
           14  +not_platforms 'tcl'
           15  +
           16  +# Download source
           17  +download_src
           18  +
           19  +# Build package
           20  +(
           21  +	rm -rf build
           22  +	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
           23  +	mkdir build
           24  +
           25  +	cd build/ || exit 1
           26  +
           27  +	gzip -dc "../${SRC}" | tar -xf -
           28  +	cd "${BUILDDIR}" || exit 1
           29  +
           30  +	TCL_PLAT_BUILD_DIR="$(basename "${TCLBUILDDIR}")"
           31  +
           32  +	cd "${TCL_PLAT_BUILD_DIR}" || exit 1
           33  +
           34  +	bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}
           35  +
           36  +	${MAKE:-make} || exit 1
           37  +
           38  +	${MAKE:-make} install || exit 1
           39  +
           40  +	mv "${PLATDIR}"/lib/tk8.4/* "${PLATDIR}/"
           41  +
           42  +	cat << \_EOF_ > "${PLATDIR}/pkgIndex.tcl"
           43  +if {[package vcompare [package provide Tcl] 8.4] != 0} { return }
           44  +package ifneeded Tk 8.4 "[list set tk_library $dir]; [list load [file join $dir libtk8.4.so] Tk]"
           45  +_EOF_
           46  +
           47  +	rm -f "${PLATDIR}"/*.a
           48  +	rm -f "${PLATDIR}/tkConfig.sh" "${PLATDIR}/wish8.4"
           49  +	rm -rf "${PLATDIR}/man" "${PLATDIR}/include" "${PLATDIR}/tk8.4" "${PLATDIR}/demos" "${PLATDIR}/lib"
           50  +) || exit 1
           51  +
           52  +# Create metadata
           53  +../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)."
           54  +
           55  +exit 0

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

            1  +#! /bin/bash
            2  +
            3  +# Define parameters
            4  +VERS=8.5.10
            5  +SRC="src/tk${VERS}-src.tar.gz"
            6  +SRCURL="http://prdownloads.sourceforge.net/tcl/tk${VERS}-src.tar.gz"
            7  +BUILDDIR="tk${VERS}"
            8  +export VERS SRC SRCURL BUILDDIR
            9  +
           10  +# Load common functions
           11  +source ../common.sh
           12  +
           13  +# Do not build if the "tcl" platform has been requested
           14  +not_platforms 'tcl'
           15  +
           16  +# Require Tcl 8.5 to build
           17  +setup_tcl85
           18  +
           19  +# Download source
           20  +download_src
           21  +
           22  +# Build package
           23  +(
           24  +	rm -rf build
           25  +	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
           26  +	mkdir build
           27  +
           28  +	cd build/ || exit 1
           29  +
           30  +	gzip -dc "../${SRC}" | tar -xf -
           31  +	cd "${BUILDDIR}" || exit 1
           32  +
           33  +	TCL_PLAT_BUILD_DIR="$(basename "${TCLBUILDDIR}")"
           34  +
           35  +	cd "${TCL_PLAT_BUILD_DIR}" || exit 1
           36  +
           37  +	bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}
           38  +
           39  +	${MAKE:-make} || exit 1
           40  +
           41  +	${MAKE:-make} install || exit 1
           42  +
           43  +	cat << \_EOF_ | sed 's|@@VERS@@|'"${VERS}"'|g' > "${PLATDIR}/pkgIndex.tcl"
           44  +if {[catch {package present Tcl 8.5.0}]} { return }
           45  +package ifneeded Tk @@VERS@@ "[list set tk_library $dir]; [list load [file join $dir libtk8.5.so] Tk]"
           46  +_EOF_
           47  +
           48  +	mv "${PLATDIR}"/lib/tk8.5/* "${PLATDIR}/"
           49  +
           50  +	rm -f "${PLATDIR}"/*.a
           51  +	rm -f "${PLATDIR}/tkConfig.sh" "${PLATDIR}/wish8.5"
           52  +	rm -rf "${PLATDIR}/man" "${PLATDIR}/include" "${PLATDIR}/tk8.5" "${PLATDIR}/demos" "${PLATDIR}/lib"
           53  +) || exit 1
           54  +
           55  +# Create metadata
           56  +../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)."
           57  +
           58  +exit 0