Changes On Branch mr_calvin-tclbdd

Changes In Branch mr_calvin-tclbdd Excluding Merge-Ins

This is equivalent to a diff from 6ec29741dc to 78b2ce4284

2021-01-04
17:07
Support Tcl 8.6.11 check-in: 697f68654f user: rkeene tags: trunk
2020-09-09
15:12
Merge trunk Leaf check-in: 78b2ce4284 user: ssoberni tags: mr_calvin-tclbdd
14:18
* tcllib/build.sh: Bump version to 1.20 check-in: 6ec29741dc user: ssoberni tags: trunk
11:14
* tclbdd/build.sh: Add build descriptor for tclbdd [1e7f92c8ba] check-in: 6c7c2f8719 user: ssoberni tags: mr_calvin-tclbdd
2020-09-02
16:01
* nsf/build.sh, patches/all/sf-all-noextern-fix.diff: Provide workaround for Tcl bundled with Kitcreator not providing for the EXTERN macro check-in: 0dc8670b62 user: ssoberni tags: trunk

Added tclbdd/build.sh version [24ba28832d].


































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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /usr/bin/env bash

# BuildCompatible: KitCreator

version='0.1'
fossiltag='2015-01-31'
url="https://chiselapp.com/user/kbk/repository/tclbdd/tarball/tclbdd-tmp.tar.gz?uuid=${fossiltag}"
sha256='ab09c6cc84d42dde3ddc190330ca0bcfe2987fe2c6f225f96010c26dd41ed0e0'

pkg_no_support_for_static='1'

function preconfigure() {
    
    cd "${workdir}" || exit 1

    if [ ! -d tclconfig ]; then

	if [ "${fossiltag}" = "trunk" ]; then
	    fossilid="${fossiltag}"
	else
	    fossilid="$(echo 'file stat configure finfo; set date $finfo(mtime); set date [expr {$date + 1}]; puts [clock format $date -format {%Y-%m-%dT%H:%M:%S}]' | TZ='UTC' "${TCLSH_NATIVE}")"
	fi
	
	"${_download}" "https://core.tcl.tk/tclconfig/tarball/tclconfig-fossil.tar.gz?uuid=${fossilid}" "${archivedir}/tmp-tclconfig.tar.gz" - || rm -f "tmp-tclconfig.tar.gz"
	gzip -dc "${archivedir}/tmp-tclconfig.tar.gz" | tar -xf -
	mv "tclconfig-fossil" "tclconfig"
	
    fi
}

# to-dos:
# - tclbdd does not support static kit builds: _TclTomMathInitializeStubs symbol not found
# - tclbdd has a runtime dependency on tcllib: grammar::aycock package (this cannot be signalled in KC)