From b15b6a625945ed9d21cf3c6724365e9bdebd2af7879cf85054a932a8e4907e2a Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 14 May 2012 11:35:50 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=58 --- source.dif | 24 +++++++++++++++++++++++- texlive.changes | 6 ++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/source.dif b/source.dif index da6d755..5d10cb2 100644 --- a/source.dif +++ b/source.dif @@ -122,7 +122,7 @@ len = strlen (line); --- texk/kpathsea/mktex.opt -+++ texk/kpathsea/mktex.opt 2009-09-02 12:47:26.000000000 +0000 ++++ texk/kpathsea/mktex.opt 2012-05-14 13:26:00.034911495 +0200 @@ -37,10 +37,11 @@ if test "$DOSISH" = "no"; then SEP=':'; # TEMPDIR needs to be unique to each process because of the possibility of two # people running dvips (or whatever) simultaneously. @@ -177,6 +177,28 @@ # The supporting scripts: : ${MT_MKTEXNAM=`kpsewhich --format='web2c files' mktexnam`} +@@ -108,9 +120,18 @@ fi + : ${MAG=1.0} + : ${ps_to_pk=gsftopk} # some prefer ps2pk + +-# Allow fonts to be read and written (especially in case we make +-# directories) by everyone. +-umask 0 ++case ":${MT_FEATURES}:" in ++*:varfonts:*) ++ if test -w "$MT_VARTEXFONTS" ; then ++ # Allow fonts to be read and written (especially in case we make ++ # directories) by everyone. ++ umask 0 ++ else ++ umask 022 ++ MT_VARTEXFONTS=$HOME/.cache/texmf/fonts ++ test -d $MT_VARTEXFONTS || mkdir -p $MT_VARTEXFONTS ++ fi ++esac + + # Cache values that may be useful for recursive calls. + export MT_MKTEX_OPT MT_MKTEX_CNF --- texk/kpathsea/mktexlsr +++ texk/kpathsea/mktexlsr 2012-04-27 14:06:45.670065918 +0000 @@ -36,6 +36,9 @@ Kpathsea manual available at http://tug. diff --git a/texlive.changes b/texlive.changes index 70e60a1..efbef12 100644 --- a/texlive.changes +++ b/texlive.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 14 11:34:42 UTC 2012 - werner@suse.de + +- If MT_FEATURES includes varfonts and system default is not + writable choose $HOME/.cache/texmf/fonts + ------------------------------------------------------------------- Tue Dec 20 13:24:26 UTC 2011 - werner@suse.de