Accepting request 405424 from Publishing:TeXLive

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/405424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive-filesystem?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2016-07-26 10:56:04 +00:00 committed by Git OBS Bridge
commit 66450b5ad4
58 changed files with 1675 additions and 488 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0d3281df0323cdb0066c63f9a4ee7e2481cd8ea20473b0bf98bc3b5a51f099f
size 596
oid sha256:698ef3fcb4f085f0119dc37a1280f1190bbeff4a6d2420ea1740d855929341c6
size 620

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6657684967bbf8e1e26fc462d352b9c75c3dadec96dd9a046560d80f73138e67
size 952
oid sha256:95adfbf3145d08796e004d3521ce9cc880531bf794c3c8494aba0d2e9ba0fd0d
size 1004

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e9884a716ae3f7887d29e5e957795cbd22a4e0b0dddd7c770c238b9e08bb5c4
size 804
oid sha256:7d8970b4f328ae8480a4f0e07bb45c9ee98512e9e86847cea77cc704fc996fe6
size 824

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e1f13da9842f4b37a6e48ae1a258ac4eb22ccee08ea96657d5aa9dd882ad404f
size 572
oid sha256:da26c393b85694ce6d3720b5a02ad2b45b087254507733bac2b0f1261fa2e73b
size 576

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94fe509eab54e3df8fd88400abb7c6d7bd8dfe9272386653bdc910d224b6de0a
size 1424
oid sha256:9ab045670ed71571c55cc172376d91aae6178fb234e821dc1569c6817e7887d1
size 1528

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9f0b06184bb170031bde4db362e084c7dbb1eb0ea536de95a8680dd42acca97
size 556
oid sha256:14c15f397135b3c3c011301adadfd50d0ca2200bbd9a53add11a20a9a76f8bbb
size 560

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31781c3dbb7010d284cf819cf6c7e18643dc2b7058c9767649284e3a60ce9ad2
oid sha256:07c20429d1635f049804f62664c1bad7a57a55e79716b316d1f00eec64375c0b
size 528

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a64f94df79bd89d11fae31c42f96e27a93375f0774a4939750bde88d357e7b41
oid sha256:045001d65c886b98db2b23be944eb060e9090ea08a791bbb4cb5417972a5ffcb
size 468

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d96dca6df276973c8170b561b8961ec231d85da91166f2d76d913fbb214a5c3
oid sha256:da8aa8071bf6f2c7b436d033480f709f4310c15772112aa146ad7a9a03bcfca7
size 488

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b6616a0043c86e88704eafc9dd5fa48985f4a917a54209440d6d421a6f3ae89
size 604
oid sha256:edceabc5165dd6467272ddd14915c9650e2f14b7d1c4c4eb80e146ea96c214c2
size 612

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49254ed63fd769cb96aa4bad8886df3005fe1ec600ed192548ab875d6258f808
oid sha256:af68c941c51c07b965eff749eda78e715d2853a1093d7b6acafd4fabf1116586
size 376

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2bc8f33139ca2664d9d3f5670e395b3bfca6039fa7c481f41d3f9f99e409c891
size 388
oid sha256:e5c32f05077bb69be72ecf75eb563a97b5e9c456a9f5633290ed27e4c91312a2
size 392

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f1251c15fad545dbcf2223220b4d25be6ed64a4421d6a377c06202103996f3c
size 572
oid sha256:282d4a5afa302c7e3e3f0896b50827bcac54aa90c2e8d8988f2a3f1b57ce8da3
size 580

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a24a82d8f49b0967d8d44069dcb1175a2af025dd5620b5b426e5299d51471a34
size 320
oid sha256:f38174c5d92af4a3ca909dc06359204e8a20c83a2d7e2f9de226e0b67e74b40e
size 324

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:88d05937a0be9413e51335c83a5650fa520ca9c5b104b2edd9fd1134c6b2f136
size 380
oid sha256:dda5cd3739e2ee34b5b5a5702f1e2fd8785c905f753e542e11b5f555011a1890
size 388

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b652c162b3827c11faf358491814d81c740b36a32b9eed1b8733d8288a89f37
size 432
oid sha256:3bbc49b3721e0a72fd88440f42567765d8d68955d04bee0fc9803c71af07167e
size 440

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:deba9b493a2f05c82fd4113b48843e80eda5650e6108dca63c8dca3f0707f7e5
size 552
oid sha256:7f15da365ad6a795a489ea1e20f2910e617d523fbd4eef033dda33fd4a64bc7a
size 556

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e2e36ef19ac72ec0df922f6e575a39a13321c5ed7f4e60eba99a7fc79bfc42f
size 568
oid sha256:a1485b15a70b87138ed0852e947653c80e22dae04ba6ce55285d7f98bd63e1ba
size 588

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6297ae652c69a12464b33d82383eb64442eb9b369f340d770298c28841d3aee6
oid sha256:e4f8baffd78e1b06bf3cd2f35e74ef8f54470710cd461348d2648f54ce146a68
size 372

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8eff802592b6efd9cdf453876f2cb8af4737f34e8f18f64effb58b93f76e4804
oid sha256:5b8368b93522eb552a61277db9a8ebe63b8a6c621eddd44ae9e589446f40897a
size 792

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc58b11f3c1365380e1a2881cbd252db0e06165076bc9965ce81c8574c351e81
size 664
oid sha256:05b79d58a57366da67278dd499fe597e40c21928bc7f255a4c2a3c7beae33ca1
size 692

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:833b049f104e512a2873acba2483975cfdee5b65a8ded05e52da5e4e717f2aad
size 488
oid sha256:8093ace4507061c2eda580e0bb017e9360af95fd7cc64dd43281a4c753d00c43
size 520

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45537acf5baae5a6aeb7787649cc2175f0bdb6992c83605dcdb2c631c8839d3d
size 624
oid sha256:364f5212ae3f6b8fcd8fcb1be32f62dba2def2b44158418a04a545e3d84bc52f
size 640

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa219a8d68a2b90187f4b46404e0ca061228d1da1c9f7909c84e244db9e1c815
size 424
oid sha256:3619c28cd1a49e98f552762ca57ca0d49a90bfe5f001b9f5f72d548bac31ad4e
size 432

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:69ddcdcb308dc96eb54679b6c307c70aa5e00f3bbedd9e34b0925f2cb255667d
oid sha256:797a7a359a233033cb5edda0f95b26a4c885e4fb32dd3d66ef1b23254ef291e7
size 380

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a394aba0f42b5f8bee18c0af10f501d65e00a54d3f672cf66438798ac9486d7f
oid sha256:16ff568044b6816e188e5e6dc3d6ec1f4072a407cc8825bf67c417c99ca915e3
size 412

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a975afb5750279198d98c2bb831bc8974ba45937771e39599dd047aabf27cc6
size 444
oid sha256:5aa26bd4e7a7013d3912bfc38f2c56c4d5c53b8e734ab32c0a1d1d7e8bce4e9c
size 476

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db30dd6888b4ce03a099f8e07af9cc38db9edff35d4993a6e0876548396649fa
size 364
oid sha256:a2d7e04e75ca9a52b3dda2064fa4bdfecf792de3c509a38103db13e5b26dc05f
size 368

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa3a5d97e26ab9baca3a8eed5f57fe5cd10dec4767c21cc5fb91f7f71e0c6432
size 600
oid sha256:6f7c29247e6273ae9a425ea3096addd5d4aaee5d7e9ed711d7582cf112e92679
size 604

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:847fc154f793eb08fbfa650c81b284a71199b3cc51b24e766664deb3181a1840
oid sha256:b0dd8e619043c2ce8d090d9e947231f74c7c8242610a0558a2427978ece77a0e
size 400

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9257211371c1b0369bb8eb164028af28e05b340c54cd66820e08f77823a42866
oid sha256:a581bc9546119b4dc530d2a6369e463cef148191ed90d212038b16a93c9e7a15
size 372

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7ca77690625e218546be06c2f00eb178ae1efe371050d69c9357f9cdc1c010e
size 384
oid sha256:c1013a3c17b2ea281087cc245f81684b4ff2f330189cafa273052ee930205784
size 396

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fd1132f4ba4d1a0594dc8383cf2e44059297b08ba7a9da8b4c3ea6ec15c4d5d
size 528
oid sha256:9b2b14e4a69a2e5cd3b1bba9a74332c2099c178d3b5333ef0d700aba91304b0d
size 540

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a244fb1f88cc7ab646d795f19cf6a1a2c14b0ad8b6c8177aececbbce1659e02
size 4892
oid sha256:9195ba2b13991ce0d03cd4931993dd20c012e0f8621698997eb76f4852013541
size 5060

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3995738e7ad2bd25418c700888a6491025a8ccc3ed00e419a09318fb8b0b93e6
oid sha256:1ee08fec9d341125ad032b467fa73cc310459bf6200a839c30e470546a64ad63
size 612

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b73f6c7cc7566784635c7f731305b02d27916c97fd0ff42eec9aa41d255978d3
size 560
oid sha256:d38253426c2f22f528ca86340e191c8413af382d99db7c7a1348af2e86194555
size 576

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e47df7e5e80d8442817e3c303849545d0a47592f4a9e2e2615956e8bea0ee7b
size 640
oid sha256:580c5d6c7d0ea2459ae26c3330cbb834decde85d062b9307a8647a731f63acf3
size 680

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae3dda86c79833e6bc2707cf992435cd6d01972e243c90e99f274faa41e25e12
size 520
oid sha256:fa758385f69e7d14605583aea5dc5edb23b178304490a6be61c28e2dfd4d8a67
size 524

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f88ad88672bb51a1b51821320e8551acb75e45532824881355d86f67e1cf07e
size 408
oid sha256:acb9254b68e2c29e410338b821708c3c22a0f0468329b3fbe5d731aecc6ee1c7
size 420

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b175145e8cbdc3d4e13983f40a590c1c3fbdda76c06fbafcc3ec7dd1aa68332
oid sha256:753344feb5db9bfdf9a7a70f1cdb52e0b8cd9bea7b48c597b1f9016166c94c75
size 392

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2f3a00cb5d08713a0748fb66dfc778a10338f7fa8bface8d87461975cf1aa95
size 1020
oid sha256:482ca6dc4948451157c03769d0ead544e2ca44d2dbf6669dea3da5b84d3c6d9d
size 1076

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73e71713142a07a7e514f2026f53d964e4f40d9595f101ff6ccbee758ae001ec
oid sha256:57699585a50c8e7602a4fb9653a9f5f9327bdc4de35ef153f6748ad1b926986b
size 484

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:314f681ce5a1d0f0ddc9ef2cc67da5d565d7a0178d5d12b946f6727944c8e100
oid sha256:2f66a09f95269a0f9942f7af1b032e8595c275a3fad7c4a0bba492eea330dd32
size 740

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02bf4cb5b95c510c46de887d4eeaf160d98503e30d739bddd08f461982a2d7cc
size 1012
oid sha256:0adaec3501315dfa25ed8dac58a849821e5bd331f5311f6f2ebb0d3e95079dfc
size 1092

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:976cb080d33128126bc7b3f949505dbcefb7364a212ae001c5ef74f2a89d503f
size 676
oid sha256:e9dabeb5b88bd81e26426513436c46557619aea9c37f9c8503a406ccdb8c07dc
size 704

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:36befb63757e367f095e9d396de54c0a05eb49684d1a51fdf4ddbc9a47bd7d14
size 576
oid sha256:58bbb329db327bfe8dc2281b17a058274a02edc75615dec9151f7b033fad108a
size 588

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afdf6ce78ea3acc94ad6a4bd496344e43375211a9d5fe5bdd438dfcbfeabf1c2
oid sha256:bd046dae7128f23fa279399b6cb512bace4ec7a52b072b73da54e1f4e662d562
size 440

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ca2b93324c94312feb56918cef38a2c3fb3a1523aa235b0e8edd25333d668ed
oid sha256:e8a10def4ea13d089d60b8570ab690afcaa959824af8a9d2159d02fe1c6559c9
size 436

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c929be026009c68695a58a031d4eb59d7d452b9b81bb1c7740d31fc2f6d5b4e
oid sha256:b8194c3c5ff952ae6ef675f3dca3205fe8c69cc1a6afec31a532def617a64b25
size 600

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28850eb13e30eda312cacc26d0b26422d15fd0ffcf83e4999793c93bd1caba7a
oid sha256:d2541b760e880cbbb819b93c05e189ddced5e64d6df56980e02e5ced089cce64
size 600

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efac978ef5f922500c3920ea32adc24c5e0f2f03464dd4b25a29d6e90dd49b0e
oid sha256:a0ffb235e6a6997c7f447d22a0875ad48ccbe2d0b68da5985765f609a9648fd3
size 528

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02e5d72ae106c379fcf1d9cf27966a30570176138dedb6d4efe9c29bd674ea4a
oid sha256:65b8fc055fb112bb10378184f85907ec67e953273e9a2acd9259d2c0cf1e4bc8
size 428

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:235125f1bb22e4983233605bdbb3650283e1cf95b468ce44e00ec7d3c29f218b
size 640
oid sha256:05828acc3744ed406d1aaa7228d372121c0c1c153198fba76ff9af181f92d2ec
size 636

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:03fc1f1e06934c145cb07b338c022a72a53e5dc33923c6e70c3b8a5b858af22b
oid sha256:0acae63b35d6e25e45bbd329cff43ab23f525beaa6506957eb989b7d028c3afe
size 748

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d109dfa2c2ea7e657cc128e8e133ad06523e559ed1cb297c7bf36763dc128d0a
oid sha256:64448e2bfd6cf296a3696007afbe726b812463d601053395a34034ef3c2d404c
size 460

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Jun 22 08:31:55 UTC 2016 - werner@suse.de
- Add some typos in update script (boo#985971)
-------------------------------------------------------------------
Mon Jun 20 07:54:36 UTC 2016 - werner@suse.de
- Have a directory to hold the splitted hyphen informations
-------------------------------------------------------------------
Tue Jun 7 16:44:43 UTC 2016 - werner@suse.de
- Update to TeXLive 2016
-------------------------------------------------------------------
Wed Apr 13 14:11:56 UTC 2016 - werner@suse.de

File diff suppressed because it is too large Load Diff

View File

@ -12,10 +12,11 @@
# Copyright (c) 2004 SuSE LINUX AG, Germany. All rights reserved.
# Copyright (c) 2007-2009 SuSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011-2012 SuSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE Linux GmbH, Nuernberg, Germany.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# Author: Werner Fink, 1997-2012
# Author: Werner Fink, 1997-2012,2016
#
typeset -r OLDIFS="$IFS"
@ -111,10 +112,33 @@ test -L "$TEXMFCNFFILE" && TEXMFCNFFILE="$(readlink -f "$TEXMFCNFFILE" 2> /dev/n
#
cnf_ldat=$(TEXMF=$TEXMFSYSCONFIG kpsewhich language.dat 2> /dev/null)
cnf_ldef=$(TEXMF=$TEXMFSYSCONFIG kpsewhich language.def 2> /dev/null)
cnf_llua=$(TEXMF=$TEXMFSYSCONFIG kpsewhich language.dat.lua 2> /dev/null)
cnf_fmtu=$(TEXMF=$TEXMFSYSCONFIG kpsewhich fmtutil.cnf 2> /dev/null)
cnf_umap=$(TEXMF=$TEXMFSYSCONFIG kpsewhich updmap.cfg 2> /dev/null)
if test -n "${cnf_ldat}" -a -n "${cnf_ldef}" ; then
for cfg in ${cnf_ldat} ${cnf_ldef} ; do
if test -z "$cnf_llua" ; then
#
# RPM has trouble with symbolic links instead of files
#
old=$(TEXMF=$TEXMFDIST kpsewhich language.dat.lua 2> /dev/null)
if test -n "$old" -a -e "$old" -a ! -L "$old" ; then
base="${old##*/}"
path="${old%/*}"
if test -d ${TEXMFSYSCONFIG}${path#$TEXMFDIST}; then
if test -e "$cnf_llua" ; then
rm -f "$old"
else
mv "$old" "$cnf_llua"
fi
ln -sf "$cnf_llua" "$old"
fi
fi
mktexlsr $TEXMFSYSCONFIG < /dev/null 1>&4 2>&4
cnf_llua=$(TEXMF=$TEXMFSYSCONFIG kpsewhich language.dat.lua 2> /dev/null)
fi
if test -n "${cnf_ldat}" -a -n "${cnf_ldef}" -a -n "${cnf_llua}" ; then
for cfg in ${cnf_ldat} ${cnf_ldef} ${cnf_llua} ; do
test -s ${OLDMD5DIR}${cfg} || continue
if test -e ${MD5DIR}${cfg} ; then
if test ${MD5DIR}${cfg} -nt ${OLDMD5DIR}${cfg} ; then
@ -126,16 +150,63 @@ if test -n "${cnf_ldat}" -a -n "${cnf_ldef}" ; then
fi
mv -f ${OLDMD5DIR}${cfg} ${MD5DIR}${cfg}
done
#
# Handle hyphens
#
for run in /var/run/texlive/run-hyphen* ; do
test -e "$run" || break
tmp=${cnf_ldat}.$RANDOM
set -C
echo "% Generated by ${TEXMFDIST}/texconfig/update on $(date)" > $tmp
cat ${TEXMFDIST}/tex/generic/config/language.us >> $tmp
for dat in ${TEXMFDIST}/tex/generic/config/language.splits/*.dat ; do
test -e "$dat" || break
cat "$dat"
done >> $tmp
mv -f $tmp ${cnf_ldat}
#
tmp=${cnf_ldef}.$RANDOM
cat ${TEXMFDIST}/tex/generic/config/language.us.def >> $tmp
for def in ${TEXMFDIST}/tex/generic/config/language.splits/*.def ; do
test -e "$def" || break
cat "$def"
done >> $tmp
echo '%%% No changes may be made beyond this point.' >> $tmp
echo >> $tmp
echo '\uselanguage {USenglish} %%% This MUST be the last line of the file.' >> $tmp
mv -f $tmp ${cnf_ldef}
#
tmp=${cnf_llua}.$RANDOM
echo "-- Generated by ${TEXMFDIST}/texconfig/update on $(date)" > $tmp
cat ${TEXMFDIST}/tex/generic/config/language.us.lua >> $tmp
for lua in ${TEXMFDIST}/tex/generic/config/language.splits/*.dat.lua ; do
test -e "$lua" || break
cat "$lua"
done >> $tmp
# Silent editor {
echo '}' >> $tmp
mv -f $tmp ${cnf_llua}
set +C
rm -f /var/run/texlive/run-hyphen*
done
#
# New md5 sums
#
md5_ldat=${MD5DIR}${cnf_ldat}
md5_ldef=${MD5DIR}${cnf_ldef}
md5_llua=${MD5DIR}${cnf_llua}
set -- $(md5sum < ${cnf_ldat}) ; md5ldat="$1"
set -- $(md5sum < ${cnf_ldef}) ; md5ldef="$1"
set -- $(md5sum < ${cnf_llua}) ; md5llua="$1"
#
# Previous md5 sums
#
omd5ldat=0
omd5ldef=0
omd5llua=0
if test -e ${md5_ldat} -a -r ${md5_ldat} ; then
test ${md5_ldat} -nt ${cnf_ldat} && md5_nt_ldat="yes"
set -- $(cat ${md5_ldat}) ; omd5ldat="$1"
@ -148,6 +219,12 @@ if test -n "${cnf_ldat}" -a -n "${cnf_ldef}" ; then
elif test ! -d ${md5_ldef%/*} ; then
mkdir -p ${md5_ldef%/*}
fi
if test -e ${md5_llua} -a -r ${md5_llua} ; then
test ${md5_llua} -nt ${cnf_llua} && md5_nt_llua="yes"
set -- $(cat ${md5_llua}) ; omd5llua="$1"
elif test ! -d ${md5_llua%/*} ; then
mkdir -p ${md5_llua%/*}
fi
#
# Create new formats for new language.dat and/or language.def if needed
@ -160,6 +237,10 @@ if test -n "${cnf_ldat}" -a -n "${cnf_ldef}" ; then
then
> /var/run/texlive/run-fmtutil.language
fi
if test $omd5llua = 0 -o \( $md5llua != $omd5llua -o "$md5_nt_llua" != "yes" \)
then
> /var/run/texlive/run-fmtutil.language
fi
fi
tcfmgr ()
@ -171,45 +252,47 @@ enablemaps ()
{
local -i rc=0
local -i hash=0
local maps=($(updmap-sys --quiet --nohash --listmaps < /dev/null 2> /dev/null | \
sed -n -r 's@(#![[:blank:]])(Mixed|Kanji)?Map[[:blank:]]*@@gp' | \
local -a maps=($(sed -rn "s@^(\#\![[= =]]+)(Mixed|Kanji)?Map[[:blank:]]*@@gp" < $cnf_umap | \
xargs -r kpsewhich --format=map 2> /dev/null | \
sed -r 's@.*/([^/]*)@\1@g'))
sed -r "s@.*/([^/]*)@\1@g"))
local line emap
((${#maps} == 0)) && return $rc
for line in ${maps[@]} ; do
let hash++
line='^#![[:blank:]]*((Mixed|Kanji)?Map)[[:blank:]]*('$line')'
emap=$(sed -n -r "s/$line/\1=\3/p" ${cfg})
updmap-sys --nohash --nomkmap --enable $emap
emap=$(sed -rn "s/^\#\![[= =]]+((Mixed|Kanji)?Map)[[:blank:]]*(${line})/\1=\3/p" $cnf_umap)
updmap-sys --cnffile $cnf_umap --nohash --nomkmap --enable $emap
let rc+=$?
done
((hash > 0)) && > /var/run/texlive/run-mktexlsr
return $rc
}
has_formats()
{
local hyphen
local hyphen format=tex
local OIFS="$IFS"
local IFS=$'\n'
local -a list=($(sed -r '/^#/d; /^[[:blank:]]*$/d' $cnf_fmtu))
test -e "$cnf_fmtu" || return 1
local -a list=($(sed -r "/^(\#.*|[[:blank:]]*)$/d" "$cnf_fmtu"))
local -a line
IFS="$OIFS"
local -i count=${#list[@]}
local -i last
case "$1" in
*.lua) format=lua
esac
while ((count-- > 0)) ; do
line=(${list[count]})
test ${line[2]} = "-" && continue
let last=${#line[@]}
let last--
kpsewhich -progname=${line[0]} -format=tex ${line[last]#\*} &>/dev/null || continue
hyphen=$(kpsewhich -progname=${line[0]} -format=tex ${line[2]} 2>/dev/null)
test -n "$hyphen" -a -e "$hyphen" -a "$hyphen" = "$1" || continue
hyphen=$(kpsewhich -progname=${line[0]} -format=$format ${line[2]} 2>/dev/null) || continue
test -n "$hyphen" -a -e "$hyphen" -a "${hyphen##*/}" = "${1##*/}" || continue
return 0
done
return 1
@ -219,28 +302,41 @@ has_formats()
# Go further
#
for run in /var/run/texlive/run-fmtutil* ; do
test -e $run || break
test -e "$run" || break
type -p fmtutil-sys &> /dev/null || { echo "${0##*/}: No fmtutil-sys in PATH ... skipping" 1>&2; break; }
option=""
test $VERBOSE = true || option="--quiet"
case "${run#*fmtutil.}" in
language)
test -n "${cnf_ldat}" -a -n "${cnf_ldef}" || continue
set -- $(md5sum < ${cnf_ldat})
echo $1 > ${md5_ldat}
set -- $(md5sum < ${cnf_ldef})
echo $1 > ${md5_ldef}
if has_formats ${cnf_ldat} ; then
test $VERBOSE = true && echo -en "\r[ ]Handle language.dat setups."
fmtutil-sys ${option:+$option} --byhyphen ${cnf_ldat} < /dev/null 1>&4 2>&4
let rc+=$?
test $VERBOSE = true && echo
if test -n "${cnf_ldat}" ; then
set -- $(md5sum < ${cnf_ldat})
echo $1 > ${md5_ldat}
if has_formats ${cnf_ldat} ; then
test $VERBOSE = true && echo -en "\r[ ]Handle language.dat setups."
fmtutil-sys ${option:+$option} --byhyphen ${cnf_ldat} < /dev/null 1>&4 2>&4
let rc+=$?
test $VERBOSE = true && echo
fi
fi
if has_formats ${cnf_ldef} ; then
test $VERBOSE = true && echo -en "\r[ ]Handle language.def setups."
fmtutil-sys ${option:+$option} --byhyphen ${cnf_ldef} < /dev/null 1>&4 2>&4
let rc+=$?
test $VERBOSE = true && echo
if test -n "${cnf_ldef}" ; then
set -- $(md5sum < ${cnf_ldef})
echo $1 > ${md5_ldef}
if has_formats ${cnf_ldef} ; then
test $VERBOSE = true && echo -en "\r[ ]Handle language.def setups."
fmtutil-sys ${option:+$option} --byhyphen ${cnf_ldef} < /dev/null 1>&4 2>&4
let rc+=$?
test $VERBOSE = true && echo
fi
fi
if test -n "${cnf_llua}" ; then
set -- $(md5sum < ${cnf_llua})
echo $1 > ${md5_llua}
if has_formats ${cnf_llua} ; then
test $VERBOSE = true && echo -en "\r[ ]Handle language.dat.lua setups."
fmtutil-sys ${option:+$option} --byhyphen ${cnf_llua} < /dev/null 1>&4 2>&4
let rc+=$?
test $VERBOSE = true && echo
fi
fi
((rc != 0)) || rm -f /var/run/texlive/run-fmtutil.language
;;
@ -262,20 +358,37 @@ for run in /var/run/texlive/run-fmtutil* ; do
done
for run in /var/run/texlive/run-updmap* ; do
test -e $run || break
test -e "$run" || break
type -p updmap-sys &> /dev/null || { echo "${0##*/}: No updmap-sys in PATH ... skipping" 1>&2; break; }
cfg=$(tcfmgr --cmd find --file updmap.cfg)
test -e $cfg || break
test -e "$cnf_umap" || break
test $VERBOSE = true && echo -en "\r[ ]Updating TeX font mappings."
updmap-sys --nohash --nomkmap --syncwithtrees < /dev/null 1>&4 2>&4
while read type map; do
case "$type" in
[Aa]dd*)
type=${type#[Aa]dd}
if grep -qsE "${type}[[:blank:]]+${map}" $cnf_umap ; then
sed -ri "s/^\#\![[= =]]+(${type}[[:blank:]]+${map})/\1/" $cnf_umap
else
echo "${type} ${map}" >> $cnf_umap
fi
;;
[Dd]elete*)
type=${type#[Dd]elete}
sed -ri "s/^(${type}[[:blank:]]+${map})/\#\! \1/" $cnf_umap
;;
*)
;;
esac
done < $run
updmap-sys --cnffile $cnf_umap --nohash --nomkmap --syncwithtrees < /dev/null 1>&4 2>&4
let rc+=$?
enablemaps $cfg < /dev/null 1>&4 2>&4
enablemaps $cnf_umap < /dev/null 1>&4 2>&4
let rc+=$?
if test -e /var/run/texlive/run-mktexlsr ; then
updmap-sys < /dev/null 1>&4 2>&4
updmap-sys --cnffile $cnf_umap < /dev/null 1>&4 2>&4
let rc+=$?
else
updmap-sys --nohash < /dev/null 1>&4 2>&4
updmap-sys --cnffile $cnf_umap --nohash < /dev/null 1>&4 2>&4
let rc+=$?
fi
# test $VERBOSE = true && echo
@ -286,21 +399,20 @@ for run in /var/run/texlive/run-updmap* ; do
done
for run in /var/run/texlive/sync-updmap* ; do
test -e $run || break
test -e "$run" || break
type -p updmap-sys &> /dev/null || break
cfg=$(tcfmgr --cmd find --file updmap.cfg)
test -e $cfg || break
test -e "$cnf_umap" || break
test $VERBOSE = true && echo -en "\r[ ]Updating TeX font mappings."
updmap-sys --nohash --nomkmap --syncwithtrees < /dev/null 1>&4 2>&4
updmap-sys --cnffile $cnf_umap --nohash --nomkmap --syncwithtrees < /dev/null 1>&4 2>&4
let rc+=$?
enablemaps $cfg < /dev/null 1>&4 2>&4
enablemaps $cnf_umap < /dev/null 1>&4 2>&4
let rc+=$?
if test -e /var/run/texlive/run-mktexlsr ; then
updmap-sys < /dev/null 1>&4 2>&4
updmap-sys --cnffile $cnf_umap < /dev/null 1>&4 2>&4
let rc+=$?
rm -f /var/run/texlive/run-mktexlsr*
else
updmap-sys --nohash < /dev/null 1>&4 2>&4
updmap-sys --cnffile $cnf_umap --nohash < /dev/null 1>&4 2>&4
let rc+=$?
fi
# test $VERBOSE = true && echo
@ -342,7 +454,7 @@ for f in $(find ${WEB2C}/ -name '*.fmt' -name '*.mem' -o -name '*.base') ; do
done
if test $init = true ; then
test $VERBOSE = true && echo -en "\r[ ]Initialize TeX configuration and font mappings."
updmap-sys --syncwithtrees < /dev/null 1>&4 2>&4
updmap-sys --cnffile $cnf_umap --syncwithtrees < /dev/null 1>&4 2>&4
let rc+=$?
texconfig-sys init < /dev/null 1>&4 2>&4
let rc+=$?
@ -400,16 +512,16 @@ lp=""
if type -p lpoptions &>/dev/null && lpstat -r &>/dev/null ; then
dev=PS
size=a4
dpi=300
dpi=600
color=mono
IFS=$'\n'
lpopt=($(lpoptions -l 2> /dev/null))
IFS="$OLDIFS"
shopt -s extglob
for line in "${lpopt[@]}" ; do
while read line ; do
case "$line" in
PageSize*)
set -- $line
shift
while test -n "$1" ; do
case "$1" in
\**) size="${1:1}"; break
@ -417,13 +529,15 @@ if type -p lpoptions &>/dev/null && lpstat -r &>/dev/null ; then
shift
done
;;
Resolution*)
CN_DPI*|Resolution*)
set -- $line
reg='?(\*)@(+([0-9])|+([0-9])x+([0-9]))dpi'
shift
cur=0
reg='?(\*)@(+([0-9])|+([0-9])x+([0-9]))dpi'
while test -n "$1" ; do
case "$1" in
$reg) cur=${1%%+([[:alpha:]])}
${reg})
cur=${1%%+([[:alpha:]])}
esac
cur="${cur#\*}"
case "$1" in
@ -435,6 +549,7 @@ if type -p lpoptions &>/dev/null && lpstat -r &>/dev/null ; then
;;
ColorCorrection*)
set -- $line
shift
while test -n "$1" ; do
case "$1" in
\*RGB|\*CMYK) color=color; break
@ -443,7 +558,7 @@ if type -p lpoptions &>/dev/null && lpstat -r &>/dev/null ; then
done
;;
esac
done
done < <(lpoptions -l < /dev/null 2> /dev/null)
shopt -u extglob
lp="lp|${dev}-$(echo ${size}-auto-${color}-${dpi}|tr '[:upper:]' '[:lower:]')"
elif test -r /etc/printcap -a -d /var/lib/apsfilter/ ; then
@ -573,7 +688,7 @@ esac
#
# Parse the configured system main printer
# Ghostscript/PS <-> Metafont mode and paper size
# (UNTESTED, Sorry I've *not* enough printers around)
# UNTESTED, Sorry I've *not* enough printers around
#
function get_paper () {
(