Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Updates to the window build process |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
572d26a30029f81ce3ffdc44a2990423 |
| User & Date: | hypnotoad 2015-08-10 13:20:36 |
Context
|
2016-02-17
| ||
| 20:34 | Fixes to condense all kitbuilding activity to a single Tcl scripts Closed-Leaf check-in: 11180b89ba user: hypnotoad tags: kitscript | |
|
2015-09-25
| ||
| 15:34 | Updates some file paths check-in: c49d6db579 user: hypnotoad tags: trunk | |
|
2015-08-10
| ||
| 13:20 | Updates to the window build process check-in: 572d26a300 user: hypnotoad tags: trunk | |
|
2015-06-01
| ||
| 18:27 | Fixed the "install sherpa" command check-in: 5e24e26760 user: hypnotoad tags: trunk | |
Changes
Changes to auto.def.
| ︙ | ︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
* defaults to tclbranch
* if "none" is specified, Tk is disabled}
windowsystem:native => {For platforms with multiple windowing systems, which system to target.
native - The native window system
x11 - An x11 emulation environment
none - Disable Tk support (equivilent to tkbranch=none)
}
64bit:detect => {Enable 64 bit support (default detect)}
fossil: => {Location of native fossil executable (default detect)}
tclsh: => {Location of native tcl shell (default detect)}
}
set ::odie(src_dir) [file dirname [file-normalize [info script]]]
use odie
| > | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
* defaults to tclbranch
* if "none" is specified, Tk is disabled}
windowsystem:native => {For platforms with multiple windowing systems, which system to target.
native - The native window system
x11 - An x11 emulation environment
none - Disable Tk support (equivilent to tkbranch=none)
}
msvpath: => {On Windows, Path to MS Visual Studio}
64bit:detect => {Enable 64 bit support (default detect)}
fossil: => {Location of native fossil executable (default detect)}
tclsh: => {Location of native tcl shell (default detect)}
}
set ::odie(src_dir) [file dirname [file-normalize [info script]]]
use odie
|
| ︙ | ︙ |
Changes to scripts/make_tcl.sh.
1 2 3 4 5 6 7 8 9 |
#! /bin/bash
source odieConfig.sh
TCL_SRCPATH=${SANDBOX}/tcl/${ODIE_TCL_PLATFORM_DIR}
TK_SRCPATH=${SANDBOX}/tk/${ODIE_TCL_PLATFORM_DIR}
ODIE_SRCPATH=${SANDBOX}/odie
echo DOWNLOAD $DOWNLOAD
| | < < < < > > > > > > > > > > > > > > > > > | 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 |
#! /bin/bash
source odieConfig.sh
TCL_SRCPATH=${SANDBOX}/tcl/${ODIE_TCL_PLATFORM_DIR}
TK_SRCPATH=${SANDBOX}/tk/${ODIE_TCL_PLATFORM_DIR}
ODIE_SRCPATH=${SANDBOX}/odie
echo DOWNLOAD $DOWNLOAD
echo "Cloning Tcl/Tk Sources"
if [ ! -f "${DOWNLOAD}/tcl.fos" ]; then
${FOSSIL} clone ${ODIEMIRRORURL}/tcl ${DOWNLOAD}/tcl.fos
fi
if [ ! -f "${SANDBOX}/tcl/${FOSSIL_CHECKOUT}" ]; then
mkdir -p ${SANDBOX}/tcl
cd ${SANDBOX}/tcl
${FOSSIL} open ${DOWNLOAD}/tcl.fos
fi
if [ "${TK_FOSSIL_BRANCH}" != "none" ] ; then
TK_SRCPATH=${SANDBOX}/tk/${ODIE_TCL_PLATFORM_DIR}
if [ ! -f "${DOWNLOAD}/tk.fos" ] ; then
${FOSSIL} clone ${ODIEMIRRORURL}/tk ${DOWNLOAD}/tk.fos
fi
if [ ! -f "${SANDBOX}/tk/${FOSSIL_CHECKOUT}" ] ; then
mkdir -p ${SANDBOX}/tk
cd ${SANDBOX}/tk
${FOSSIL} open ${DOWNLOAD}/tk.fos ${TK_FOSSIL_BRANCH}
fi
fi
echo "Building Local Tcl"
echo $ODIE_HOST
echo $ODIE_TARGET
cd ${SANDBOX}/tcl
${FOSSIL} update ${TCL_FOSSIL_BRANCH}
cd ${TCL_SRCPATH}
# Build Tcl twice. Once statically, once dynamically
echo Build Static Tcl
if [ "${ODIE_HOST}" != "${ODIE_TARGET}" ] ; then
sh ./configure --enable-shared=no --with-tzdata --host=${ODIE_TARGET} ${TCL_CONFIG_FLAGS}
|
| ︙ | ︙ | |||
45 46 47 48 49 50 51 |
sh ./configure --prefix=${LOCAL_REPO} --libdir=${LOCAL_REPO}/lib --with-tzdata ${TCL_CONFIG_FLAGS}
fi
make clean
make binaries
make install
if [ "${TK_FOSSIL_BRANCH}" != "none" ] ; then
| < < < < < < < < < < | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
sh ./configure --prefix=${LOCAL_REPO} --libdir=${LOCAL_REPO}/lib --with-tzdata ${TCL_CONFIG_FLAGS}
fi
make clean
make binaries
make install
if [ "${TK_FOSSIL_BRANCH}" != "none" ] ; then
echo "Building Local Tk"
cd ${SANDBOX}/tk
${FOSSIL} update ${TK_FOSSIL_BRANCH}
cd ${TK_SRCPATH}
echo Build Dynamic Tk
if [ "${ODIE_OS}" == "macosx" ] ; then
if [ "${ODIE_CONFIG_WINDOWSYSTEM}" == "x11" ] ; then
export CPPFLAGS=-I/opt/X11/include
|
| ︙ | ︙ |