Rework lua(meta)tex/context resource findings

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=174
This commit is contained in:
Dr. Werner Fink 2023-07-04 09:20:53 +00:00 committed by Git OBS Bridge
parent db0a87c7cd
commit b37e407715
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 4 09:16:37 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Rework lua(meta)tex/context resource findings
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 5 11:12:19 UTC 2023 - Dr. Werner Fink <werner@suse.de> Mon Jun 5 11:12:19 UTC 2023 - Dr. Werner Fink <werner@suse.de>

View File

@ -523,6 +523,7 @@ make_context_fmts()
LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ LUATEXDIR=${TEXMFDIST}/scripts/context/lua \
TEXMFCACHE=${TEXMFVAR} \ TEXMFCACHE=${TEXMFVAR} \
TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \
TEXMF=${TEXMFDIST} \
/usr/bin/context $fmt --make < /dev/null 1>&4 2>&4 /usr/bin/context $fmt --make < /dev/null 1>&4 2>&4
let status+=$? let status+=$?
done done
@ -535,6 +536,7 @@ make_context_fmts()
LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ LUATEXDIR=${TEXMFDIST}/scripts/context/lua \
TEXMFCACHE=${TEXMFVAR} \ TEXMFCACHE=${TEXMFVAR} \
TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \
TEXMF=${TEXMFDIST} \
/usr/bin/context $fmt --luatex --make < /dev/null 1>&4 2>&4 /usr/bin/context $fmt --luatex --make < /dev/null 1>&4 2>&4
let status+=$? let status+=$?
done done
@ -542,6 +544,7 @@ make_context_fmts()
LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ LUATEXDIR=${TEXMFDIST}/scripts/context/lua \
TEXMFCACHE=${TEXMFVAR} \ TEXMFCACHE=${TEXMFVAR} \
TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \
TEXMF=${TEXMFDIST} \
/usr/bin/mtxrun --script fonts --reload < /dev/null 1>&4 2>&4 /usr/bin/mtxrun --script fonts --reload < /dev/null 1>&4 2>&4
let status+=$? let status+=$?
@ -558,6 +561,7 @@ if test -x /usr/bin/mtxrun ; then
LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ LUATEXDIR=${TEXMFDIST}/scripts/context/lua \
TEXMFCACHE=${TEXMFVAR} \ TEXMFCACHE=${TEXMFVAR} \
TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \
TEXMF=${TEXMFDIST} \
/usr/bin/mtxrun --generate < /dev/null 1>&4 2>&4 /usr/bin/mtxrun --generate < /dev/null 1>&4 2>&4
let rc+=$? let rc+=$?
@ -565,12 +569,14 @@ if test -x /usr/bin/mtxrun ; then
LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ LUATEXDIR=${TEXMFDIST}/scripts/context/lua \
TEXMFCACHE=${TEXMFVAR} \ TEXMFCACHE=${TEXMFVAR} \
TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \
TEXMF=${TEXMFDIST} \
/usr/bin/context --luatex --generate < /dev/null 1>&4 2>&4 /usr/bin/context --luatex --generate < /dev/null 1>&4 2>&4
let rc+=$? let rc+=$?
LUATEXDIR=${TEXMFDIST}/scripts/context/lua \ LUATEXDIR=${TEXMFDIST}/scripts/context/lua \
TEXMFCACHE=${TEXMFVAR} \ TEXMFCACHE=${TEXMFVAR} \
TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \ TEXMFCNF="home:texmf/web2c;${TEXMFCNFFILE%/*};${TEXMFDIST}/web2c" \
TEXMF=${TEXMFDIST} \
/usr/bin/mtxrun --script fonts --reload < /dev/null 1>&4 2>&4 /usr/bin/mtxrun --script fonts --reload < /dev/null 1>&4 2>&4
let rc+=$? let rc+=$?
@ -587,7 +593,7 @@ if test -x /usr/bin/mtxrun ; then
TEXMFCACHE=${TEXMFVAR} \ TEXMFCACHE=${TEXMFVAR} \
TEXMFCNF=${TEXMFCNFFILE%/*} \ TEXMFCNF=${TEXMFCNFFILE%/*} \
LUAINPUTS="$(kpsewhich --var-value=LUAINPUTS)" \ LUAINPUTS="$(kpsewhich --var-value=LUAINPUTS)" \
/usr/bin/luaotfload-tool --update --prefer-texmf --formats=+afm --log=stdout < /dev/null 1>&4 2>&4 /usr/bin/luaotfload-tool --update --force --log=stdout < /dev/null 1>&4 2>&4
let rc+=$? let rc+=$?
fi fi
fi fi