Check-in [d2a98c553c]
Overview
Comment:KitCreator 0.6.1

Updated to download Tk by tag first, if possible, then by date if not

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | 0.6.1
Files: files | file ages | folders
SHA1:d2a98c553cf23c3a1784877daa16881420a34058
User & Date: rkeene on 2011-11-05 18:49:02
Other Links: manifest | tags
Context
2011-11-15
03:09
Merged tcl-sdk-support branch into trunk check-in: 9d8d38d716 user: rkeene tags: trunk
2011-11-14
02:32
Create new branch named "tcl-sdk-support" check-in: d5e4b44ef6 user: rkeene tags: tcl-sdk-support
2011-11-05
18:49
KitCreator 0.6.1

Updated to download Tk by tag first, if possible, then by date if not check-in: d2a98c553c user: rkeene tags: trunk, 0.6.1

2011-10-05
18:42
Updated to build Solaris/SPARC tests targetting Solaris 8 check-in: acb9725083 user: rkeene tags: trunk
Changes

Modified build/makearch.info from [194a365c81] to [47063768f9].

    12     12   # If set to "auto" it will be maintained in a file called .version
    13     13   # in the source directory and the revision will be incremented
    14     14   # each time a "makearch" is done.
    15     15   #
    16     16   # If @@SVNLCR@@ is used anywhere in this version number, it will be
    17     17   # replaced with the highest last-changed-rev from the output of
    18     18   #   svn info -R    (or 0)
    19         -VERS="0.6.0"
           19  +VERS="0.6.1"
    20     20   
    21     21   # Space sperated list of documents, if they exist, they will be
    22     22   # prefixed with the contents of the DOC_HDR file and substitution
    23     23   # will occur:
    24     24   #     @@UTIL@@ becomes the utility name ${UTIL}
    25     25   #     @@VERS@@ becomes the utility version
    26     26   #     @@DATE@@ becomes the current date

Modified tk/build.sh from [228f428c97] to [8dbe3ef0bd].

    37     37   
    38     38   if [ ! -f "${SRC}" ]; then
    39     39   	mkdir 'src' >/dev/null 2>/dev/null
    40     40   
    41     41   	use_fossil='0'
    42     42   	if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then
    43     43   		use_fossil='1'
           44  +
           45  +		FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
           46  +		if [ "${FOSSILTAG}" = "HEAD" ]; then
           47  +			FOSSILTAG="trunk"
           48  +		fi
    44     49   	elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then
    45     50   		use_fossil='1'
           51  +
           52  +		FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g')
    46     53   	fi
    47     54   
    48     55   	if [ -d 'buildsrc' ]; then
    49     56   		# Override here to avoid downloading tarball from Fossil if we
    50     57   		# have a particular tree already available.
    51     58   		use_fossil='0'
    52     59   	fi
................................................................................
    59     66   
    60     67   			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
    61     68   			rm -rf "${workdir}"
    62     69   
    63     70   			mkdir "${workdir}" || exit 1
    64     71   			cd "${workdir}" || exit 1
    65     72   
    66         -			wget -O "tmp-tk.tar.gz" "http://core.tcl.tk/tk/tarball/tk-fossil.tar.gz?uuid=${FOSSILDATE}" || rm -f 'tmp-tk.tar.gz'
    67         -			gzip -dc "tmp-tk.tar.gz" | tar -xf -
           73  +			wget -O "tmp-tk.tar.gz" "http://core.tcl.tk/tk/tarball/tk-fossil.tar.gz?uuid=${FOSSILTAG}" || rm -f 'tmp-tk.tar.gz'
           74  +			gzip -dc "tmp-tk.tar.gz" | tar -xf - || rm -f 'tmp-tk.tar.gz'
           75  +
           76  +			if [ ! -s 'tmp-tk.tar.gz' ]; then
           77  +				wget -O "tmp-tk.tar.gz" "http://core.tcl.tk/tk/tarball/tk-fossil.tar.gz?uuid=${FOSSILDATE}" || rm -f 'tmp-tk.tar.gz'
           78  +				gzip -dc "tmp-tk.tar.gz" | tar -xf -
           79  +			fi
    68     80   
    69     81   			mv "tk-fossil" "tk${TCLVERS}"
    70     82                           
    71     83   			tar -cf - "tk${TCLVERS}" | gzip -c > "../../${SRC}"
    72     84   
    73     85   			cd ..
    74     86   			rm -rf "${workdir}"