Check-in [f5886050c4]
Overview
Comment:Updated to support pulling Tcl and Tk from newest fossil sources. They are still likely to change in the future.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:f5886050c45414a75eabb0ddb3e2f2f5f8d4dad6
User & Date: rkeene on 2011-03-03 04:09:56
Other Links: manifest | tags
Context
2011-03-03
05:01
Added support for disabling "visibility=hidden" when building KitDLL check-in: a49ee9121f user: rkeene tags: trunk
04:09
Updated to support pulling Tcl and Tk from newest fossil sources. They are still likely to change in the future. check-in: f5886050c4 user: rkeene tags: trunk
2011-03-01
14:45
Added catch around thread test to avoid halting automated tests for an error check-in: 7618ff9a65 user: rkeene tags: trunk
Changes

Modified tcl/build.sh from [178995da06] to [f95adb2a3c].

    32     32   			CVSTAG="trunk"
    33     33   		fi
    34     34   		export CVSTAG
    35     35   
    36     36   		(
    37     37   			cd src || exit 1
    38     38   
    39         -			rm -f "tmp-tcl.zip"
    40         -			wget -O "tmp-tcl.zip" "http://tcltk.oc9.org/fossils/tcl/zip/unnamed-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tcl.zip"
           39  +			rm -f "tmp-tcl.zip" "tmp-itcl.zip" "tmp-thread.zip" "tmp-tclconfig.zip"
           40  +			wget -O "tmp-tcl.zip" "http://rkeene.org/projects/tcl/tcl.fossil/zip/tcl-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tcl.zip"
           41  +			wget -O "tmp-itcl.zip" "http://rkeene.org/projects/tcl/itcl.fossil/zip/itcl-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-itcl.zip"
           42  +			wget -O "tmp-thread.zip" "http://rkeene.org/projects/tcl/thread.fossil/zip/thread-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-thread.zip"
           43  +			wget -O "tmp-tclconfig.zip" "http://rkeene.org/projects/tcl/tclconfig.fossil/zip/tclconfig-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tclconfig.zip"
           44  +
    41     45   			unzip "tmp-tcl.zip"
    42     46   			rm -f "tmp-tcl.zip"
    43     47   
           48  +			unzip "tmp-itcl.zip"
           49  +			rm -f "tmp-itcl.zip"
           50  +
           51  +			unzip "tmp-thread.zip"
           52  +			rm -f "tmp-thread.zip"
           53  +
           54  +			unzip "tmp-tclconfig.zip"
           55  +			rm -f "tmp-tclconfig.zip"
           56  +
    44     57   			rm -rf "tcl${TCLVERS}"
    45         -			mv "unnamed-${CVSTAG}" "tcl${TCLVERS}"
           58  +			mv "tcl-${CVSTAG}" "tcl${TCLVERS}"
           59  +			mv "itcl-${CVSTAG}" "tcl${TCLVERS}/pkgs/itcl"
           60  +			mv "thread-${CVSTAG}" "tcl${TCLVERS}/pkgs/thread"
           61  +			cp -r "tclconfig-${CVSTAG}" "tcl${TCLVERS}/pkgs/itcl/tclconfig"
           62  +			cp -r "tclconfig-${CVSTAG}" "tcl${TCLVERS}/pkgs/thread/tclconfig"
           63  +			mv "tclconfig-${CVSTAG}" "tcl${TCLVERS}/tclconfig"
    46     64   
    47     65   			if [ -d "tcl${TCLVERS}" ]; then
    48     66   				find "tcl${TCLVERS}" -name configure -type f | xargs chmod +x
           67  +				find "tcl${TCLVERS}" '(' -name install-sh -o -name install.sh ')' -type f | xargs chmod +x
    49     68   
    50     69   				tar -cf - "tcl${TCLVERS}" | gzip -c > "../${SRC}"
    51     70   			fi
           71  +
           72  +			rm -f "tmp-tcl.zip" "tmp-itcl.zip" "tmp-thread.zip" "tmp-tclconfig.zip"
           73  +			rm -rf "tcl-${CVSTAG}" "itcl-${CVSTAG}" "thread-${CVSTAG}" "tclconfig-${CVSTAG}"
    52     74   		)
    53     75   	else
    54     76   		rm -f "${SRC}.tmp"
    55     77   		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
    56     78   		mv "${SRC}.tmp" "${SRC}"
    57     79   	fi
    58     80   fi

Modified tk/build.sh from [64c5520e3d] to [54785bdfbe].

    40     40   		fi
    41     41   		export CVSTAG
    42     42   
    43     43   		(       
    44     44   			cd src || exit 1
    45     45   
    46     46   			rm -f "tmp-tk.zip"
    47         -			wget -O "tmp-tk.zip" "http://tcltk.oc9.org/fossils/tk/zip/unnamed-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tk.zip"
           47  +			wget -O "tmp-tk.zip" "http://rkeene.org/projects/tcl/tk.fossil/zip/tk-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tk.zip"
    48     48   			unzip "tmp-tk.zip"
    49     49   			rm -f "tmp-tk.zip"
    50     50   
    51     51   			rm -rf "tk${TCLVERS}"
    52         -			mv "unnamed-${CVSTAG}" "tk${TCLVERS}"
           52  +			mv "tk-${CVSTAG}" "tk${TCLVERS}"
    53     53                           
    54     54   			if [ -d "tk${TCLVERS}" ]; then
    55     55   				find "tk${TCLVERS}" -name configure -type f | xargs chmod +x
    56     56                                   
    57     57   				tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"
    58     58   			fi
           59  +
           60  +			rm -f "tmp-tk.zip"
           61  +			rm -rf "tk${TCLVERS}"
    59     62   		)
    60     63   	else
    61     64   		rm -f "${SRC}.tmp"
    62     65   		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
    63     66   		mv "${SRC}.tmp" "${SRC}"
    64     67   	fi
    65     68   fi