diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-11-07 13:55:14 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-11-07 13:55:14 +0000 |
commit | a5e9a943b0de8472634fe11169412ef11f59c7c5 (patch) | |
tree | bbe8eb2fce4ef9f6b6174b9511d94bb00a131d06 /app-text/texlive-core/files | |
parent | fix gnu patch (diff) | |
download | gentoo-2-a5e9a943b0de8472634fe11169412ef11f59c7c5.tar.gz gentoo-2-a5e9a943b0de8472634fe11169412ef11f59c7c5.tar.bz2 gentoo-2-a5e9a943b0de8472634fe11169412ef11f59c7c5.zip |
remove old
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'app-text/texlive-core/files')
-rw-r--r-- | app-text/texlive-core/files/texmf-update2008 | 105 | ||||
-rw-r--r-- | app-text/texlive-core/files/texmf-update2009 | 100 |
2 files changed, 0 insertions, 205 deletions
diff --git a/app-text/texlive-core/files/texmf-update2008 b/app-text/texlive-core/files/texmf-update2008 deleted file mode 100644 index 7f583cde270f..000000000000 --- a/app-text/texlive-core/files/texmf-update2008 +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/bash -# -# Utility to update Gentoo TeXLive distribution configuration files -# - -echo "Configuring TeXLive ..." - -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 - -if [ -d /etc/texmf/texmf.d ]; then - echo "Generating /etc/texmf/web2c/texmf.cnf from /etc/texmf/texmf.d ..." - cat /etc/texmf/texmf.d/*.cnf > "/etc/texmf/web2c/texmf.cnf" -fi - -if [ -d /etc/texmf/fmtutil.d ]; then - echo "Generating /etc/texmf/web2c/fmtutil.cnf from /etc/texmf/fmtutil.d ..." - cat /etc/texmf/fmtutil.d/*.cnf > "/etc/texmf/web2c/fmtutil.cnf" -fi - -if [ -d /etc/texmf/updmap.d ]; then - echo "Generating /etc/texmf/web2c/updmap.cfg from /etc/texmf/updmap.d ..." - cat /etc/texmf/updmap.d/*.cfg > "/etc/texmf/web2c/updmap.cfg" -fi - -if [ -d /etc/texmf/dvips.d ]; then - echo "Generating /etc/texmf/dvips/config/config.ps from /etc/texmf/dvips.d ..." - cat /etc/texmf/dvips.d/*.ps > "/etc/texmf/dvips/config/config.ps" -fi - -echo "Generating ls-R files" -mktexlsr &>/dev/null - -# Generate language.dat file, from texlive install-pkg.sh -X=`kpsewhich language.dat` -if test -n "$X"; then - echo "Generating language.dat file" - cd `dirname $X` - Z=`pwd` - - Y=`kpsewhich language.us` - cd `dirname $Y` - cat language.us > $Z/language.dat - for i in /etc/texmf/language.dat.d/language.*.dat; do - test -f $i && cat $i >> $Z/language.dat - done -fi - -# Generate language.def file. -X=`kpsewhich language.def` -Y=`kpsewhich language.us.def` -if test -n "$X" -a -n "$Y" ; then - echo "Generating language.def file" - cd `dirname $X` - Z=`pwd` - - cd `dirname $Y` - cat language.us.def > $Z/language.def - for i in /etc/texmf/language.def.d/language.*.def; do - test -f $i && cat $i >> $Z/language.def - done - cat << EOF >> $Z/language.def -%%% No changes may be made beyond this point. - -\uselanguage {USenglish} %%% This MUST be the last line of the file. -EOF -fi - -echo "Generating format files ..." -fmtutil-sys --all &>/dev/null - -echo "Generating font maps..." -updmap-sys &>/dev/null - -echo -echo "Use 'texconfig font ro'(rw) to disable (enable) font generation for users" -echo diff --git a/app-text/texlive-core/files/texmf-update2009 b/app-text/texlive-core/files/texmf-update2009 deleted file mode 100644 index 92d32060aa94..000000000000 --- a/app-text/texlive-core/files/texmf-update2009 +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/bash -# -# Utility to update Gentoo TeXLive distribution configuration files -# - -echo "Configuring TeXLive ..." - -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 - -if [ -d /etc/texmf/texmf.d ]; then - echo "Generating /etc/texmf/web2c/texmf.cnf from /etc/texmf/texmf.d ..." - cat /etc/texmf/texmf.d/*.cnf > "/etc/texmf/web2c/texmf.cnf" -fi - -if [ -d /etc/texmf/fmtutil.d ]; then - echo "Generating /etc/texmf/web2c/fmtutil.cnf from /etc/texmf/fmtutil.d ..." - cat /etc/texmf/fmtutil.d/*.cnf > "/etc/texmf/web2c/fmtutil.cnf" -fi - -if [ -d /etc/texmf/updmap.d ]; then - echo "Generating /etc/texmf/web2c/updmap.cfg from /etc/texmf/updmap.d ..." - cat /etc/texmf/updmap.d/*.cfg > "/etc/texmf/web2c/updmap.cfg" -fi - -echo "Generating ls-R files" -mktexlsr &>/dev/null - -# Generate language.dat file, from texlive install-pkg.sh -X=`kpsewhich language.dat` -if test -n "$X"; then - echo "Generating language.dat file" - cd `dirname $X` - Z=`pwd` - - Y=`kpsewhich language.us` - cd `dirname $Y` - cat language.us > $Z/language.dat - for i in /etc/texmf/language.dat.d/language.*.dat; do - test -f $i && cat $i >> $Z/language.dat - done -fi - -# Generate language.def file. -X=`kpsewhich language.def` -Y=`kpsewhich language.us.def` -if test -n "$X" -a -n "$Y" ; then - echo "Generating language.def file" - cd `dirname $X` - Z=`pwd` - - cd `dirname $Y` - cat language.us.def > $Z/language.def - for i in /etc/texmf/language.def.d/language.*.def; do - test -f $i && cat $i >> $Z/language.def - done - cat << EOF >> $Z/language.def -%%% No changes may be made beyond this point. - -\uselanguage {USenglish} %%% This MUST be the last line of the file. -EOF -fi - -echo "Generating format files ..." -fmtutil-sys --all &>/dev/null - -echo "Generating font maps..." -updmap-sys &>/dev/null - -echo -echo "Use 'texconfig font ro'(rw) to disable (enable) font generation for users" -echo |