Check-in [7c3a88c4dc]
Overview
Comment:Added support for forcing Itcl 3.x to be built with newer versions of Tcl and increased version of Itcl to 3.4.3
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:7c3a88c4dcf36c3f32eef0e1753c14a0a9336db4
User & Date: rkeene on 2016-04-26 16:15:27
Other Links: manifest | tags
Context
2016-05-13
01:54
Added TCL_UTF_MAX=6 build support check-in: fe4c8bd979 user: rkeene tags: trunk
2016-04-26
16:15
Added support for forcing Itcl 3.x to be built with newer versions of Tcl and increased version of Itcl to 3.4.3 check-in: 7c3a88c4dc user: rkeene tags: trunk
2016-04-13
15:57
Updated to wait for the remote host to come up before doing remote builds check-in: 999692e78c user: rkeene tags: trunk
Changes

Modified README from [b457bfcb27] to [8577620ff5].

   146    146   		packages included in the "pkgs" directory of Tcl 8.6+
   147    147   		to be compiled statically
   148    148   
   149    149   	11. KITCREATOR_STATIC_KITDLL
   150    150   		Set this variable to the value "1" to build a static KitDLL.
   151    151   		This only has an affect when KITCREATOR_PKGS specifies that
   152    152   		"kitdll" is to be built (e.g., KITCREATOR_PKGS='kitdll')
          153  +
          154  +	12. KITCREATOR_ITCL3_FORCE
          155  +		Set this variable to the value "1" to build [incr Tcl] version
          156  +		3.x even with Tcl 8.6+.  Note that [incr Tcl] 4.x will still
          157  +		be built as part of Tcl 8.6+ (unless excluded using
          158  +		KITCREATOR_MINBUILD).
   153    159   
   154    160   
   155    161   Cross compiling Environment Variables:
   156    162   
   157    163   	1. CC  
   158    164   		C compiler   e.g. i686-pc-mingw32-gcc
   159    165   

Modified itcl/build.sh from [a1e30e5a0a] to [fd163a032f].

     7      7   fi
     8      8   if [ -z "${TCLVERS}" ]; then
     9      9   	echo 'ERROR: The TCLVERS environment variable is not set' >&2
    10     10   
    11     11   	exit 1
    12     12   fi
    13     13   
    14         -ITCLVERS="3.4.2"
           14  +ITCLVERS="3.4.3"
    15     15   ITCLVERSEXTRA=""
    16     16   SRC="src/itcl-${ITCLVERS}.tar.gz"
    17         -SRCURL="http://sourceforge.net/projects/incrtcl/files/%5BIncr%20Tcl_Tk%5D-source/${ITCLVERS}/itcl${ITCLVERS}${ITCLVERSEXTRA}.tar.gz/download"
    18         -SRCHASH='-'
           17  +SRCURL="http://sourceforge.net/projects/incrtcl/files/%5BIncr%20Tcl_Tk%5D-source/Itcl%20${ITCLVERS}/itcl${ITCLVERS}${ITCLVERSEXTRA}.tar.gz/download"
           18  +SRCHASH='28b55f44a2fd450862a6f12982c00c1d03d767f62a834d83945a616e06068887'
    19     19   BUILDDIR="$(pwd)/build/itcl${ITCLVERS}"
    20     20   OUTDIR="$(pwd)/out"
    21     21   INSTDIR="$(pwd)/inst"
    22     22   export ITCLVERS SRC SRCURL BUILDDIR OUTDIR INSTDIR
    23     23   
    24     24   # Set configure options for this sub-project
    25     25   LDFLAGS="${LDFLAGS} ${KC_ITCL_LDFLAGS}"
................................................................................
    29     29   export LDFLAGS CFLAGS CPPFLAGS LIBS
    30     30   
    31     31   rm -rf 'build' 'out' 'inst'
    32     32   mkdir 'build' 'out' 'inst' || exit 1
    33     33   
    34     34   # Determine if Itcl is even needed
    35     35   (
           36  +	# Always build if we are being forced to build
           37  +	if [ "${KITCREATOR_ITCL3_FORCE}" = '1' ]; then
           38  +		exit 0
           39  +	fi
           40  +
    36     41   	TCL_VERSION="unknown"
    37     42   	if [ -f "${TCLCONFIGDIR}/tclConfig.sh" ]; then
    38     43   		source "${TCLCONFIGDIR}/tclConfig.sh"
    39     44   	fi
    40     45   
    41     46   	if echo "${TCL_VERSION}" | grep '^8\.[45]$' >/dev/null; then
    42     47   		# Itcl is required for Tcl 8.4 and Tcl 8.5