Check-in [6964fef637]
Overview
Comment:More work towards changing scripts to refer to upstream source with Fossil in the name
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:6964fef6373443f0a1d6ee7c3b6052d2cfddc852
User & Date: rkeene on 2011-05-28 05:33:20
Other Links: manifest | tags
Context
2011-05-28
06:38
Updated to support finding TCLSH_NATIVE by the root kitcreator script and using that in most places where a native Tcl interpreter is needed

Updated to find date of Fossil checkin when a fossil tag or ID is specified and use that date for checkouts of other projects check-in: 0527703474 user: rkeene tags: trunk

05:33
More work towards changing scripts to refer to upstream source with Fossil in the name check-in: 6964fef637 user: rkeene tags: trunk
05:30
Updated to support specifying version using "fossil_<tag>/<uuid>" syntax in addition to "cvs_<tag>" syntax check-in: 7c7806fdb4 user: rkeene tags: trunk
Changes

Modified tcl/build.sh from [a153496432] to [f85e1724d4].

    26     26   if [ ! -f "${SRC}" ]; then
    27     27   	mkdir 'src' >/dev/null 2>/dev/null
    28     28   
    29     29   	use_fossil='0'
    30     30   	if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then
    31     31   		use_fossil='1'
    32     32   
    33         -		CVSTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
    34         -		if [ "${CVSTAG}" = "HEAD" ]; then
    35         -			CVSTAG="trunk"
           33  +		FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
           34  +		if [ "${FOSSILTAG}" = "HEAD" ]; then
           35  +			FOSSILTAG="trunk"
    36     36   		fi
    37     37   	elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then
    38     38   		use_fossil='1'
    39     39   
    40         -		CVSTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g')
           40  +		FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g')
    41     41   	fi
    42         -	export CVSTAG
           42  +	export FOSSILTAG
    43     43   
    44     44   	if [ "${use_fossil}" = "1" ]; then
    45     45   		(
    46     46   			cd src || exit 1
    47     47   
    48     48   			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
    49     49   			rm -rf "${workdir}"
    50     50   
    51     51   			mkdir "${workdir}" || exit 1
    52     52   			cd "${workdir}" || exit 1
    53     53   
    54         -			wget -O "tmp-tcl.tar.gz" "http://core.tcl.tk/tcl/tarball/tcl-fossil.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-tcl.tar.gz'
    55         -			wget -O "tmp-itcl.tar.gz" "http://core.tcl.tk/itcl/tarball/itcl-fossil.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-itcl.tar.gz'
    56         -			wget -O "tmp-thread.tar.gz" "http://core.tcl.tk/thread/tarball/thread-fossil.tar.gz?uuid=${CVSTAG}" || rm -f "tmp-thread.tar.gz"
    57         -			wget -O "tmp-tclconfig.tar.gz" "http://core.tcl.tk/tclconfig/tarball/tclconfig-fossil.tar.gz?uuid=${CVSTAG}" || rm -f "tmp-tclconfig.tar.gz"
           54  +			wget -O "tmp-tcl.tar.gz" "http://core.tcl.tk/tcl/tarball/tcl-fossil.tar.gz?uuid=${FOSSILTAG}" || rm -f 'tmp-tcl.tar.gz'
           55  +			wget -O "tmp-itcl.tar.gz" "http://core.tcl.tk/itcl/tarball/itcl-fossil.tar.gz?uuid=${FOSSILTAG}" || rm -f 'tmp-itcl.tar.gz'
           56  +			wget -O "tmp-thread.tar.gz" "http://core.tcl.tk/thread/tarball/thread-fossil.tar.gz?uuid=${FOSSILTAG}" || rm -f "tmp-thread.tar.gz"
           57  +			wget -O "tmp-tclconfig.tar.gz" "http://core.tcl.tk/tclconfig/tarball/tclconfig-fossil.tar.gz?uuid=${FOSSILTAG}" || rm -f "tmp-tclconfig.tar.gz"
    58     58   
    59     59   			gzip -dc 'tmp-tcl.tar.gz' | tar -xf -
    60     60   			gzip -dc "tmp-itcl.tar.gz" | tar -xf -
    61     61   			gzip -dc "tmp-thread.tar.gz" | tar -xf -
    62     62   			gzip -dc "tmp-tclconfig.tar.gz" | tar -xf -
    63     63   
    64     64   			mv "tcl-fossil" "tcl${TCLVERS}"

Modified tk/build.sh from [44b34e71e4] to [c993cbeca4].

    34     34   if [ ! -f "${SRC}" ]; then
    35     35   	mkdir 'src' >/dev/null 2>/dev/null
    36     36   
    37     37   	use_fossil='0'
    38     38   	if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then
    39     39   		use_fossil='1'
    40     40   
    41         -		CVSTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
    42         -		if [ "${CVSTAG}" = "HEAD" ]; then
    43         -			CVSTAG="trunk"
           41  +		FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
           42  +		if [ "${FOSSILTAG}" = "HEAD" ]; then
           43  +			FOSSILTAG="trunk"
    44     44   		fi
    45     45   	elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then
    46     46   		use_fossil='1'
    47     47   
    48         -		CVSTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g')
           48  +		FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g')
    49     49   	fi
    50         -	export CVSTAG
           50  +	export FOSSILTAG
    51     51   
    52     52   	if [ "${use_fossil}" = "1" ]; then
    53     53   		(       
    54     54   			cd src || exit 1
    55     55   
    56     56   			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
    57     57   			rm -rf "${workdir}"
    58     58   
    59     59   			mkdir "${workdir}" || exit 1
    60     60   			cd "${workdir}" || exit 1
    61     61   
    62         -			wget -O "tmp-tk.tar.gz" "http://core.tcl.tk/tk/tarball/tk-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-tk.tar.gz'
           62  +			wget -O "tmp-tk.tar.gz" "http://core.tcl.tk/tk/tarball/tk-fossil.tar.gz?uuid=${FOSSILTAG}" || rm -f 'tmp-tk.tar.gz'
    63     63   			gzip -dc "tmp-tk.tar.gz" | tar -xf -
    64     64   
    65         -			mv "tk-${CVSTAG}" "tk${TCLVERS}"
           65  +			mv "tk-fossil" "tk${TCLVERS}"
    66     66                           
    67     67   			tar -cf - "tk${TCLVERS}" | gzip -c > "../../${SRC}"
    68     68   
    69     69   			cd ..
    70     70   			rm -rf "${workdir}"
    71     71   		)
    72     72   	else