diff options
author | Martin Ehmsen <ehmsen@gentoo.org> | 2006-05-28 21:55:51 +0000 |
---|---|---|
committer | Martin Ehmsen <ehmsen@gentoo.org> | 2006-05-28 21:55:51 +0000 |
commit | d2dc4ad44ec30479c4a2954d56e03388f5895701 (patch) | |
tree | 167a1720abbc7ae82a4cb009c7eade5e54072932 /app-text/texlive/files | |
parent | Update 4.1.0 w/ two mips patches for R10K support and R10K cache barriers han... (diff) | |
download | gentoo-2-d2dc4ad44ec30479c4a2954d56e03388f5895701.tar.gz gentoo-2-d2dc4ad44ec30479c4a2954d56e03388f5895701.tar.bz2 gentoo-2-d2dc4ad44ec30479c4a2954d56e03388f5895701.zip |
Initial import of texlive
(Portage version: 2.1_rc2-r3)
Diffstat (limited to 'app-text/texlive/files')
-rw-r--r-- | app-text/texlive/files/digest-texlive-2005 | 9 | ||||
-rw-r--r-- | app-text/texlive/files/texmf-update | 58 |
2 files changed, 67 insertions, 0 deletions
diff --git a/app-text/texlive/files/digest-texlive-2005 b/app-text/texlive/files/digest-texlive-2005 new file mode 100644 index 000000000000..2a36d2d94a01 --- /dev/null +++ b/app-text/texlive/files/digest-texlive-2005 @@ -0,0 +1,9 @@ +MD5 841d6678183bda7089526e5b7d2eba69 texlive-2005-src.tar.bz2 18754502 +RMD160 ac2c390cad8160028b2754c46a347847d6523346 texlive-2005-src.tar.bz2 18754502 +SHA256 faf645ca74889c35ec9df5902e8b0d7afe1eb29477574a6747810b671afef674 texlive-2005-src.tar.bz2 18754502 +MD5 527ae2d21701b787764d6cfe52ee51f3 texlive-2005-texmf-dist.tar.bz2 408486129 +RMD160 32d046f1363028bf8164bd1525a60968ca78ec39 texlive-2005-texmf-dist.tar.bz2 408486129 +SHA256 ef6838f569cdbcc7ce49b1102be7797995c1b0e82e0c9b593acf0c5b133b843c texlive-2005-texmf-dist.tar.bz2 408486129 +MD5 7abffdae0ea9cdd4823efcbc02e96b91 texlive-2005-texmf.tar.bz2 16285465 +RMD160 bcdad713732a49607005130b8f707f7fbeb59815 texlive-2005-texmf.tar.bz2 16285465 +SHA256 ffe9d2ec59a30aa4972ae21a99e8e0ea85648204a77f9e114b01bd3a8a603a6b texlive-2005-texmf.tar.bz2 16285465 diff --git a/app-text/texlive/files/texmf-update b/app-text/texlive/files/texmf-update new file mode 100644 index 000000000000..99f7bb46a397 --- /dev/null +++ b/app-text/texlive/files/texmf-update @@ -0,0 +1,58 @@ +#!/bin/bash +# +# Utility to update Gentoo teTeX distribution configuration files +# + +PATH=/bin:/usr/bin + +# Fix for all those with altered umask for root +umask 022 + +# Make sure we have a correct environment, bug #30432 +# The list of env. vars is taken from the INSTALL file +for texvar in AFMFONTS BIBINPUTS BSTINPUTS DVILJFONTS DVIPSFONTS \ + DVIPSHEADERS GFFONTS GLYPHFONTS INDEXSTYLE MFBASES MFINPUTS \ + MFPOOL MFTINPUTS MPINPUTS MPMEMS MPPOOL MPSUPPORT OCPINPUTS \ + OFMFONTS OPLFONTS OTPINPUTS OVFFONTS OVPFONTS PKFONTS PSHEADERS \ + T1FONTS T1INPUTS TEXBIB TEXCONFIG TEXDOCS TEXFONTMAPS TEXFONTS \ + TEXFORMATS TEXINDEXSTYLE TEXINPUTS TEXMFCNF TEXMFDBS TEXMFINI \ + TEXPICTS TEXPKS TEXPOOL TEXPSHEADERS TEXSOURCES TFMFONTS TRFONTS \ + VFFONTS XDVIFONTS XDVIVFS ; do + + if [ "${!texvar}" ]; then + if ! $(echo ${!texvar} | grep '^:\|::\|:$' &>/dev/null) ; then + export ${texvar}="${!texvar}:" + fi + fi +done + +if [ "$TEXINPUTS" ]; then + if $(echo ${TEXINPUTS} | grep '/usr/share/texmf' &>/dev/null) ; then + export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|/usr/share/texmf/*:\?||g') + elif $(echo ${TEXINPUTS} | grep '/var/lib/texmf' &>/dev/null) ; then + export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|/var/lib/texmf/*:\?||g') + fi +fi + +for conf in texmf.cnf fmtutil.cnf updmap.cfg ; do + if [ -d "/etc/texmf/${conf/.*/.d}" ] ; then + echo "Generating /etc/texmf/web2c/${conf} from /etc/texmf/${conf/.*/.d} ..." + cat /etc/texmf/${conf/.*/.d}/* > "/etc/texmf/web2c/${conf}" + fi +done + +# configure +echo "Configuring teTeX ..." +mktexlsr &>/dev/null +texconfig-sys init &>/dev/null +texconfig-sys confall &>/dev/null +texconfig-sys font rw &>/dev/null +texconfig-sys font vardir /var/cache/fonts &>/dev/null +updmap-sys &>/dev/null + +# generate +echo "Generating format files ..." +fmtutil-sys --missing &>/dev/null +echo +echo "Use 'texconfig font ro' to disable font generation for users" +echo |