From a08fa9d818c0134d891210da1a0afed0b421b19d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 11 Dec 2006 01:32:54 +0000 Subject: new platform i386-solaris git-svn-id: svn://tug.org/texlive/trunk@2683 c570f23f-e606-0410-a88d-b1316a301751 --- Master/common.sh | 43 +++++++++++++++++++++++++++++-------------- Master/utils.sh | 5 +++-- 2 files changed, 32 insertions(+), 16 deletions(-) (limited to 'Master') diff --git a/Master/common.sh b/Master/common.sh index 240c679b247..89cfb8c60b7 100755 --- a/Master/common.sh +++ b/Master/common.sh @@ -1,10 +1,10 @@ #!/bin/sh # $Id$ # -# common.sh -- common routines for the installation procedures. +# common.sh -- common routines for the TeX Live installation scripts. # Do not call directly. # -# Copyright (c) Sebastian Rahtz, 2003, 2004, 2005, 2006. +# Copyright (c) Sebastian Rahtz and Karl Berry 2003, 2004, 2005, 2006. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -37,11 +37,12 @@ setvars() p_i386_darwin_n='Intel x86 with MacOSX/Darwin' p_i386_freebsd_n='Intel x86 with FreeBSD' p_i386_linux_n='Intel x86 with GNU/Linux' + p_i386_solaris_n='Intel x86 with Sun Solaris' p_mips_irix_n='SGI IRIX' - p_powerpc_aix_n='Power PC AIX' + p_powerpc_aix_n='PowerPC AIX' p_powerpc_darwin_n='Mac OSX/Darwin 5.3 or 6.*' - p_sparc_linux_n='Sun Sparc with GNU/Linux' - p_sparc_solaris_n='Sun Sparc Solaris' + p_sparc_linux_n='Sparc with GNU/Linux' + p_sparc_solaris_n='Sparc with Solaris' p_win32_n='Windows' p_x86_64_linux_n='Intel x86_64 with GNU/Linux' @@ -565,7 +566,7 @@ menu_this_platform() while true; do cls textvar_show screen_5; echo - case `getopt NABCDEFGHIJKRQ 'Select the platform you are currently on'` in + case `getopt NABCDEFGHIJKLMRQ 'Select the platform you are currently on'` in N) this_system=''; this_platform_set ;; A) this_system=i386_linux; this_platform_set ;; B) this_system=win32; this_platform_set ;; @@ -575,10 +576,12 @@ menu_this_platform() F) this_system=mips_irix; this_platform_set ;; G) this_system=powerpc_aix; this_platform_set ;; H) this_system=sparc_solaris; this_platform_set ;; - I) this_system=i386_freebsd; this_platform_set ;; - J) this_system=i386_cygwin; this_platform_set ;; - K) this_system=x86_64_linux; this_platform_set ;; - L) this_system=sparc_linux; this_platform_set ;; + I) this_system=i386_solaris; this_platform_set ;; + J) this_system=i386_freebsd; this_platform_set ;; + K) this_system=i386_cygwin; this_platform_set ;; + L) this_system=x86_64_linux; this_platform_set ;; + M) this_system=sparc_linux; this_platform_set ;; + # N above R) total_stat; return ;; Q) exit_on_confirm ;; esac @@ -836,10 +839,11 @@ screen_5='Current platform: $this_platform_n $p_mips_irix_n $p_powerpc_aix_n $p_sparc_solaris_n - $p_i386_freebsd_n - $p_i386_cygwin_n - $p_x86_64_linux_n - $p_sparc_linux_n + $p_i386_solaris_n + $p_i386_freebsd_n + $p_i386_cygwin_n + $p_x86_64_linux_n + $p_sparc_linux_n return to main menu quit @@ -1326,6 +1330,17 @@ common_end_install() echo echo "Add $TEXDIR/texmf/doc/man to MANPATH." >&2 echo "Add $TEXDIR/texmf/doc/info to INFOPATH." >&2 + + if test "$pd" = i386-solaris; then + # we should do this if i386-solaris is installed, not just if it's + # the current platform, but that seems pretty painful. + echo + echo "For i386-solaris, you must also install extra libraries:" + echo " gzip -d /tmp/tlibs.pkg" + echo " pkgadd -d /tmp/tlibs.pkg" + echo "(or the equivalent.)" + echo + fi fi $skip_systemstuff || greetings diff --git a/Master/utils.sh b/Master/utils.sh index e1a0794f552..465ed4a060c 100755 --- a/Master/utils.sh +++ b/Master/utils.sh @@ -1,10 +1,10 @@ #!/bin/sh # $Id$ # -# utils.sh -- utility routines for the installation scripts. +# utils.sh -- utility routines for the TeX Live installation scripts. # Do not call directly. # -# Copyright (c) Sebastian Rahtz 2003, 2004, 2005, 2006. +# Copyright (c) Sebastian Rahtz and Karl Berry 2003, 2004, 2005, 2006. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -424,6 +424,7 @@ platform_guess() *86-darwin*) Sys=i386_darwin;; *86-freebsd*) Sys=i386_freebsd;; *86-linux*) Sys=i386_linux;; + *86-solaris*) Sys=i386_solaris;; *86_64*-linux*) Sys=x86_64_linux;; alpha*-linux*) Sys=alpha_linux;; mips-irix*) Sys=mips_irix;; -- cgit v1.2.3