From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C199F1382C5 for ; Wed, 4 Apr 2018 16:19:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3073E0B9E; Wed, 4 Apr 2018 16:19:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64760E0B9E for ; Wed, 4 Apr 2018 16:19:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A92E1335C0A for ; Wed, 4 Apr 2018 16:19:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18C18250 for ; Wed, 4 Apr 2018 16:19:21 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1522858692.5b941e24ed9cacf4b51320808ed19d9ba498920c.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/texlive-core/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/texlive-core/files/texmf-update2010 X-VCS-Directories: app-text/texlive-core/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 5b941e24ed9cacf4b51320808ed19d9ba498920c X-VCS-Branch: master Date: Wed, 4 Apr 2018 16:19:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 317fd6a1-083f-4a45-9a3f-40117ce1c6b2 X-Archives-Hash: d628059f6cd30124313420e4ed3e56a8 commit: 5b941e24ed9cacf4b51320808ed19d9ba498920c Author: Michael Mair-Keimberger gmail com> AuthorDate: Sat Mar 31 14:36:33 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Apr 4 16:18:12 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b941e24 app-text/texlive-core: remove unused file app-text/texlive-core/files/texmf-update2010 | 165 --------------------------- 1 file changed, 165 deletions(-) diff --git a/app-text/texlive-core/files/texmf-update2010 b/app-text/texlive-core/files/texmf-update2010 deleted file mode 100644 index a877823e7c1..00000000000 --- a/app-text/texlive-core/files/texmf-update2010 +++ /dev/null @@ -1,165 +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 - -MKTEMP_COMMAND="mktemp -t tmp.XXXXXXXXXX" -DIFF_COMMAND="cmp -s" -TEMP_FILE="`${MKTEMP_COMMAND}`" - -if [ -z "${TEMP_FILE}" ]; then - exit -fi - -# check whether config files for fmtutil and updmap have changed -STATUS_FMTUTIL="0" -STATUS_UPDMAP="0" - -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 ..." - if [ -f /etc/texmf/web2c/fmtutil.cnf ]; then - cp -f /etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE} - else - touch ${TEMP_FILE} - fi - cat /etc/texmf/fmtutil.d/*.cnf > "/etc/texmf/web2c/fmtutil.cnf" - ${DIFF_COMMAND} /etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE} - STATUS_FMTUTIL="${STATUS_FMTUTIL}$?" -else -# if no regeneration took place: -# always regenerate the formats to be on the safe side - STATUS_FMTUTIL="${STATUS_FMTUTIL}3" -fi - -if [ -d /etc/texmf/updmap.d ]; then - if [ -f /etc/texmf/web2c/updmap.cfg ]; then - cp -f /etc/texmf/web2c/updmap.cfg ${TEMP_FILE} - else - touch ${TEMP_FILE} - fi - echo "Generating /etc/texmf/web2c/updmap.cfg from /etc/texmf/updmap.d ..." - cat /etc/texmf/updmap.d/*.cfg > "/etc/texmf/web2c/updmap.cfg" - ${DIFF_COMMAND} /etc/texmf/web2c/updmap.cfg ${TEMP_FILE} - STATUS_UPDMAP="${STATUS_UPDMAP}$?" -else -# if no regeneration could be done: -# always regenerate the maps to be on the safe side - STATUS_UPDMAP="${STATUS_UPDMAP}3" -fi - -echo "Generating ls-R files" -mktexlsr &>/dev/null - -# Generate language.dat file, from texlive install-pkg.sh -X=`kpsewhich language.dat` -Z=`dirname $X` -if [ -n "$X" -a -f "$Z/language.dat" -a -f "$Z/language.us" ] ; then - echo "Generating language.dat file" - - # Save the old one, we will check if it has changed - cp -f "$Z/language.dat" "${TEMP_FILE}" - - cat "$Z/language.us" > "$Z/language.dat" - for i in /etc/texmf/language.dat.d/language.*.dat; do - [ -f "$i" ] && cat "$i" >> "$Z/language.dat" - done - - ${DIFF_COMMAND} "$Z/language.dat" "${TEMP_FILE}" - STATUS_FMTUTIL="${STATUS_FMTUTIL}$?" -fi - -# Generate language.def file. -if [ -n "$X" -a -f "$Z/language.def" -a -f "$Z/language.us.def" ] ; then - echo "Generating language.def file" - - # Save the old one, we will check if it has changed - cp -f "$Z/language.def" "${TEMP_FILE}" - - cat "$Z/language.us.def" > "$Z/language.def" - for i in /etc/texmf/language.def.d/language.*.def; do - [ -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 - - ${DIFF_COMMAND} "$Z/language.def" "${TEMP_FILE}" - STATUS_FMTUTIL="${STATUS_FMTUTIL}$?" -fi - -# Generate language.dat.lua file. -if [ -n "$X" -a -f "$Z/language.dat.lua" -a -f "$Z/language.us.lua" ] ; then - echo "Generating language.dat.lua file" - - # Save the old one, we will check if it has changed - cp -f "$Z/language.dat.lua" "${TEMP_FILE}" - - cat "$Z/language.us.lua" > "$Z/language.dat.lua" - for i in /etc/texmf/language.dat.lua.d/language.*.dat.lua; do - [ -f "$i" ] && cat "$i" >> "$Z/language.dat.lua" - done - printf "}\n" >> "$Z/language.dat.lua" - - ${DIFF_COMMAND} "$Z/language.dat.lua" "${TEMP_FILE}" - STATUS_FMTUTIL="${STATUS_FMTUTIL}$?" -fi - -if [ "${STATUS_FMTUTIL}" -ne 0 ] ; then - echo "Generating format files ..." - fmtutil-sys --all &>/dev/null -else - echo "Skipping format files, since they are unchanged" -fi - -if [ "${STATUS_UPDMAP}" -ne 0 ] ; then - echo "Generating font maps..." - updmap-sys &>/dev/null -else - echo "Skipping font maps, since they are unchanged" -fi - -rm -f ${TEMP_FILE} - -echo -echo "Use 'texconfig font ro'(rw) to disable (enable) font generation for users" -echo