Check-in [f892d49db3]
Overview
Comment:Updated to pull "tclconfig" and "thread" from core.tcl.tk

Updated to download CVS/Fossil into a temporary directory

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:f892d49db3a5d6fadd36ba6464ad50cca2cd3141
User & Date: rkeene on 2011-04-15 20:38:06
Other Links: manifest | tags
Context
2011-05-01
15:17
Updated to pull "itcl" from core.tcl.tk check-in: 76acd1bd6b user: rkeene tags: trunk
2011-04-15
20:38
Updated to pull "tclconfig" and "thread" from core.tcl.tk

Updated to download CVS/Fossil into a temporary directory check-in: f892d49db3 user: rkeene tags: trunk

2011-03-16
17:23
Updated to pull tarballs from Fossil rather than zip files, as these preserve executable permissions

Updated to pull Tcl and Tk from "core.tcl.tk" rather than from local mirror check-in: 84e5f3847a user: rkeene tags: trunk

Changes

Modified kitcreator from [15de613872] to [0663f6ccec].

    22     22   fi
    23     23   
    24     24   # Define the list of all packages, for cleaning purposes
    25     25   KITCREATOR_ALLPKGS="kitsh tcl tclvfs zlib tk itcl mk4tcl thread kitdll"
    26     26   for pkg in ${KITCREATOR_ALLPKGS}; do
    27     27   	rm -f "${pkg}/build.log"
    28     28   	rm -rf "${pkg}/out" "${pkg}/inst" "${pkg}/build"
           29  +
           30  +	rm -rf "${pkg}/src"/tmp-*
    29     31   
    30     32   	if [ "${mode}" = "distclean" ]; then
    31     33   		rm -rf "${pkg}/src"
    32     34   	fi
    33     35   done
    34     36   
    35     37   # We're all done if we're in clean or distclean mode

Modified tcl/build.sh from [e5124a01c0] to [f5d1586cab].

    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.tar.gz" "tmp-itcl.tar.gz" "tmp-thread.tar.gz" "tmp-tclconfig.tar.gz"
    40         -			wget -O "tmp-tcl.tar.gz" "http://core.tcl.tk/tcl/tarball/tcl-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-tcl.tar.gz'
    41         -			wget -O "tmp-itcl.tar.gz" "http://rkeene.org/projects/tcl/itcl.fossil/tarball/itcl-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-itcl.tar.gz'
    42         -			wget -O "tmp-thread.tar.gz" "http://rkeene.org/projects/tcl/thread.fossil/tarball/thread-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f "tmp-thread.tar.gz"
    43         -			wget -O "tmp-tclconfig.tar.gz" "http://rkeene.org/projects/tcl/tclconfig.fossil/tarball/tclconfig-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f "tmp-tclconfig.tar.gz"
           39  +			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
           40  +			rm -rf "${workdir}"
           41  +
           42  +			mkdir "${workdir}" || exit 1
           43  +			cd "${workdir}" || exit 1
           44  +
           45  +			wget -O "tmp-tcl.tar.gz" "http://core.tcl.tk/tcl/tarball/tcl-fossil.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-tcl.tar.gz'
           46  +			wget -O "tmp-itcl.tar.gz" "http://rkeene.org/projects/tcl/itcl.fossil/tarball/itcl-fossil.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-itcl.tar.gz'
           47  +			wget -O "tmp-thread.tar.gz" "http://core.tcl.tk/thread/tarball/thread-fossil.tar.gz?uuid=${CVSTAG}" || rm -f "tmp-thread.tar.gz"
           48  +			wget -O "tmp-tclconfig.tar.gz" "http://core.tcl.tk/tclconfig/tarball/tclconfig-fossil.tar.gz?uuid=${CVSTAG}" || rm -f "tmp-tclconfig.tar.gz"
    44     49   
    45     50   			gzip -dc 'tmp-tcl.tar.gz' | tar -xf -
    46         -			rm -f "tmp-tcl.tar.gz"
    47         -			if [ -d "tcl-${CVSTAG}.tar" ]; then
    48         -				rm -rf "tcl-${CVSTAG}"
    49         -				mv "tcl-${CVSTAG}.tar" "tcl-${CVSTAG}"
    50         -			fi
    51         -
    52     51   			gzip -dc "tmp-itcl.tar.gz" | tar -xf -
    53         -			rm -f "tmp-itcl.tar.gz"
    54         -
    55     52   			gzip -dc "tmp-thread.tar.gz" | tar -xf -
    56         -			rm -f "tmp-thread.tar.gz"
    57         -
    58     53   			gzip -dc "tmp-tclconfig.tar.gz" | tar -xf -
    59         -			rm -f "tmp-tclconfig.tar.gz"
    60     54   
    61         -			rm -rf "tcl${TCLVERS}"
    62         -			mv "tcl-${CVSTAG}" "tcl${TCLVERS}"
    63         -			mv "itcl-${CVSTAG}" "tcl${TCLVERS}/pkgs/itcl"
    64         -			mv "thread-${CVSTAG}" "tcl${TCLVERS}/pkgs/thread"
    65         -			cp -r "tclconfig-${CVSTAG}" "tcl${TCLVERS}/pkgs/itcl/tclconfig"
    66         -			cp -r "tclconfig-${CVSTAG}" "tcl${TCLVERS}/pkgs/thread/tclconfig"
    67         -			mv "tclconfig-${CVSTAG}" "tcl${TCLVERS}/tclconfig"
           55  +			mv "tcl-fossil" "tcl${TCLVERS}"
           56  +			mv "itcl-fossil" "tcl${TCLVERS}/pkgs/itcl"
           57  +			mv "thread-fossil" "tcl${TCLVERS}/pkgs/thread"
           58  +			cp -r "tclconfig-fossil" "tcl${TCLVERS}/pkgs/itcl/tclconfig"
           59  +			cp -r "tclconfig-fossil" "tcl${TCLVERS}/pkgs/thread/tclconfig"
           60  +			mv "tclconfig-fossil" "tcl${TCLVERS}/tclconfig"
    68     61   
    69         -			tar -cf - "tcl${TCLVERS}" | gzip -c > "../${SRC}"
           62  +			tar -cf - "tcl${TCLVERS}" | gzip -c > "../../${SRC}"
    70     63   
    71         -			rm -f "tmp-tcl.tar.gz" "tmp-itcl.tar.gz" "tmp-thread.tar.gz" "tmp-tclconfig.tar.gz"
    72         -			rm -rf "tcl-${CVSTAG}" "itcl-${CVSTAG}" "thread-${CVSTAG}" "tclconfig-${CVSTAG}"
    73         -			rm -rf "tcl${TCLVERS}"
    74         -		)
           64  +			cd ..
           65  +
           66  +			rm -rf "${workdir}"
           67  +		) || exit 1
    75     68   	else
    76     69   		rm -f "${SRC}.tmp"
    77     70   		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
    78     71   		mv "${SRC}.tmp" "${SRC}"
    79     72   	fi
    80     73   fi
    81     74   

Modified tk/build.sh from [e21d739f84] to [b1fd7e8b36].

    40     40   			CVSTAG="trunk"
    41     41   		fi
    42     42   		export CVSTAG
    43     43   
    44     44   		(       
    45     45   			cd src || exit 1
    46     46   
    47         -			rm -f "tmp-tk.tar.gz"
           47  +			workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
           48  +			rm -rf "${workdir}"
           49  +
           50  +			mkdir "${workdir}" || exit 1
           51  +			cd "${workdir}" || exit 1
           52  +
    48     53   			wget -O "tmp-tk.tar.gz" "http://core.tcl.tk/tk/tarball/tk-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-tk.tar.gz'
    49         -
    50     54   			gzip -dc "tmp-tk.tar.gz" | tar -xf -
    51         -			rm -f "tmp-tk.tar.gz"
    52         -			if [ -d "tk-${CVSTAG}.tar" ]; then
    53         -				rm -rf "tk-${CVSTAG}"
    54         -				mv "tk-${CVSTAG}.tar" "tk-${CVSTAG}"
    55         -			fi
    56     55   
    57         -			rm -rf "tk${TCLVERS}"
    58     56   			mv "tk-${CVSTAG}" "tk${TCLVERS}"
    59     57                           
    60         -			tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"
           58  +			tar -cf - "tk${TCLVERS}" | gzip -c > "../../${SRC}"
    61     59   
    62         -			rm -f "tmp-tk.tar.gz"
    63         -			rm -rf "tk-${CVSTAG}"
    64         -			rm -rf "tk${TCLVERS}"
           60  +			cd ..
           61  +			rm -rf "${workdir}"
    65     62   		)
    66     63   	else
    67     64   		rm -f "${SRC}.tmp"
    68     65   		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
    69     66   		mv "${SRC}.tmp" "${SRC}"
    70     67   	fi
    71     68   fi