From 641b36be01441464c489c3d0b15751f14ac78971 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 28 Apr 2017 23:12:11 +0000 Subject: doc,sync,binary locations git-svn-id: svn://tug.org/texlive/trunk@44109 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-bindir | 74 +++++++++++++++++++-------------------- Master/tlpkg/bin/tlpsizes | 10 +++--- 2 files changed, 42 insertions(+), 42 deletions(-) (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/bin/tl-update-bindir b/Master/tlpkg/bin/tl-update-bindir index e173e2e4158..40dcbdd2925 100755 --- a/Master/tlpkg/bin/tl-update-bindir +++ b/Master/tlpkg/bin/tl-update-bindir @@ -49,7 +49,7 @@ Report bugs to tlbuild@tug.org." bin_loc= download=wget msg=echo -tlnames= +tlplats= while test $# -gt 0; do case $1 in --help|-help|-v) echo "$usage"; exit 0;; @@ -64,12 +64,12 @@ while test $# -gt 0; do --*) echo "$0: unrecognized option \`$1'; try --help if you need it." >&2 exit 1;; - *) tlnames="$tlnames $1";; + *) tlplats="$tlplats $1";; esac shift done -if test -z "$tlnames"; then +if test -z "$tlplats"; then echo "$0: missing TL platform name; try --help if you need it." >&2 exit 1 fi @@ -84,34 +84,34 @@ if test ! -d "$Master/bin"; then fi # loop through tl platform names -for tlname in $tlnames; do - destdir=$Master/bin/$tlname +for tlplat in $tlplats; do + destdir=$Master/bin/$tlplat if test ! -d $destdir; then - echo "$0: unrecognized platform name \`$tlname'" >&2 + echo "$0: unrecognized platform name \`$tlplat'" >&2 echo "$0: (no directory $destdir)" >&2 exit 1 fi # karl update convenience default_bin_loc= - download_loc=$tmpdir/tl.$tlname.tar.gz + download_loc=$tmpdir/tl.$tlplat.tar.gz grab="$download -O $download_loc" if test x"$USER" = xkarl; then - case $tlname in + case $tlplat in alpha-linux) default_bin_loc=/home/preining/alpha-linux.tar.gz;; amd64-freebsd) - download_loc=$tmpdir/tl.$tlname.tar.xz + download_loc=$tmpdir/tl.$tlplat.tar.xz default_bin_loc=$download_loc grab="$download -O $download_loc" $grab http://anthesphoria.net/FreeBSD/TeXLive-Devel/amd64-freebsd7.tar.xz;; amd64-kfreebsd) - download_loc=$tmpdir/tl.$tlname.tar.xz + download_loc=$tmpdir/tl.$tlplat.tar.xz default_bin_loc=$download_loc grab="$download -O $download_loc" $grab ftp://ftp.cea.fr/incoming/y2k01/braslau/x86_64-unknown-kfreebsd9.0-gnu.tar.xz;; amd64-netbsd) - download_loc=$tmpdir/tl.$tlname.tar.xz + download_loc=$tmpdir/tl.$tlplat.tar.xz default_bin_loc=$download_loc grab="$download -O $download_loc" $grab http://www.babafou.eu.org/texlive-netbsd/x86_64-netbsd.tar.xz;; @@ -126,21 +126,24 @@ for tlname in $tlnames; do $grab http://www.jtartlabs.com/test/hppa2.0-hp-hpux10.20.tar.gz;; i386-cygwin) default_bin_loc=$download_loc - $grab http://sanibeltranquility.com/cygwin/i386-cygwin.tgz;; + $grab http://sanibeltranquility.com/cygwin/$tlplat.tgz;; + i386-darwin) + default_bin_loc=$download_loc + $grab http://dl.contextgarden.net/build/texlive/$tlplat.xz;; i386-freebsd) - download_loc=$tmpdir/tl.$tlname.tar.xz + download_loc=$tmpdir/tl.$tlplat.tar.xz default_bin_loc=$download_loc grab="$download -O $download_loc" $grab http://anthesphoria.net/FreeBSD/TeXLive-Devel/i386-freebsd7.tar.xz;; i386-kfreebsd) - download_loc=$tmpdir/tl.$tlname.tar.xz + download_loc=$tmpdir/tl.$tlplat.tar.xz default_bin_loc=$download_loc grab="$download -O $download_loc" $grab ftp://ftp.cea.fr/incoming/y2k01/braslau/i386-unknown-kfreebsd10.0-gnu.tar.xz;; i386-linux) default_bin_loc=/tmp/lin32.tgz;; i386-netbsd) - download_loc=$tmpdir/tl.$tlname.tar.xz + download_loc=$tmpdir/tl.$tlplat.tar.xz default_bin_loc=$download_loc grab="$download -O $download_loc" $grab http://www.babafou.eu.org/texlive-netbsd/i386-netbsd.tar.xz;; @@ -148,44 +151,41 @@ for tlname in $tlnames; do default_bin_loc=$download_loc $grab http://students.dec.bmth.ac.uk/ebarrett/files/tl-bin-20080810.tgz;; i386-solaris) - download_loc=$tmpdir/tl.$tlname.tar.xz default_bin_loc=$download_loc - grab="$download -O $download_loc" - $grab http://www.math.fsu.edu/~ealdrov/texlive/2015/bin-i386-pc-solaris2.10.tar.gz;; + $grab http://dl.contextgarden.net/build/texlive/$tlplat.tar.xz;; mips-irix) - download_loc=$tmpdir/tl.$tlname.tar.xz + download_loc=$tmpdir/tl.$tlplat.tar.xz default_bin_loc=$download_loc grab="$download -O $download_loc" $grab http://www.solid.ethz.ch/download/texlive/texlive-mips-irix.tar.xz;; mipsel-linux) echo "see mojca" >&2; exit 1;; + powerpc-darwin) + default_bin_loc=$download_loc + $grab http://dl.contextgarden.net/build/texlive/$tlplat.tar.xz;; powerpc-linux) default_bin_loc=/home/tschmitz/powerpc.tar.xz;; - universal-darwin) - #download_loc=$tmpdir/tl.$tlname.tar.xz - #default_bin_loc=$download_loc - #grab="$download -O $download_loc" - #$grab http://pages.uoregon.edu/koch/universal-darwin.tar.xz;; - default_bin_loc=/home/koch/universal-darwin.tar.xz;; + sparc-solaris) + default_bin_loc=$download_loc + $grab http://dl.contextgarden.net/build/texlive/$tlplat.tar.xz;; win32) - default_bin_loc=$tmpdir/tl.$tlname.zip - $grab http://members2.jcom.home.ne.jp/wt1357ak/tl2009w32-02.zip;; + # default_bin_loc=$tmpdir/tl.$tlplat.zip + # $grab http://members2.jcom.home.ne.jp/wt1357ak/tl2009w32-02.zip;; + ;; # updated by Akira. x86_64-cygwin) default_bin_loc=$download_loc - $grab http://sanibeltranquility.com/cygwin/x86_64-cygwin.tgz;; + $grab http://sanibeltranquility.com/cygwin/$tlplat.tgz;; x86_64-darwin) - #download_loc=$tmpdir/tl.$tlname.tar.xz - #default_bin_loc=$download_loc - #grab="$download -O $download_loc" - #$grab http://pages.uoregon.edu/koch/x86_64-darwin.tar.xz;; - default_bin_loc=/home/koch/x86_64-darwin.tar.xz;; + default_bin_loc=/home/koch/$tlplat.tar.xz;; + x86_64-darwinlegacy) + default_bin_loc=$download_loc + $grab http://dl.contextgarden.net/build/texlive/x86_64-darwin.tar.xz;; x86_64-linux) - default_bin_loc=/home/texlive/karl/Build/source/inst/bin/x86_64-pc-linux-gnu;; + # local: default_bin_loc=/home/texlive/karl/Build/source/inst/bin/x86_64-pc-linux-gnu;; + ;; # updated by Norbert. x86_64-solaris) - download_loc=$tmpdir/tl.$tlname.tar.xz default_bin_loc=$download_loc - grab="$download -O $download_loc" - $grab http://www.math.fsu.edu/~ealdrov/texlive/2015/bin-x86_64-pc-solaris2.10.tar.gz;; + $grab http://dl.contextgarden.net/build/texlive/$tlplat.tar.xz;; esac fi diff --git a/Master/tlpkg/bin/tlpsizes b/Master/tlpkg/bin/tlpsizes index 795e935cdd0..2be99ace130 100755 --- a/Master/tlpkg/bin/tlpsizes +++ b/Master/tlpkg/bin/tlpsizes @@ -53,9 +53,8 @@ sub main { my @pkgs = $tlpdb->expand_dependencies ("-no-collections", $tlpdb, $name); # get sizes of those packages. - # args say: include src, include doc, just i386-linux for a - # mid-sized sample, just our pkgs. - my $pkg_sizes = $tlpdb->sizes_of_packages (1, 1, ["i386-linux"], @pkgs); + # args say: include src, include doc, just one platform. + my $pkg_sizes = $tlpdb->sizes_of_packages (1, 1, ["x86_64-linux"], @pkgs); $c_size{$name} = $pkg_sizes->{__TOTAL__}; delete $pkg_sizes->{"__TOTAL__"}; # don't need that any more @@ -68,8 +67,9 @@ sub main { for my $c (sort { $c_size{$b} <=> $c_size{$a} } keys %c_size) { - printf "%4d %-${longest_name}s %s\n", - $c_size{$c}/1024/1024, $c, $c_pkgs{$c}; + my $count = ($c_pkgs{$c} =~ tr/ / /); + printf "%4d %-${longest_name}s %4s%s\n", + $c_size{$c}/1024/1024, $c, $count, $c_pkgs{$c}; } return 0; -- cgit v1.2.3