Changeset 60454e2
- Timestamp:
- Feb 21, 2006, 12:23:25 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- d8ed990
- Parents:
- e5345f18
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/untested/blfs-scripts/blfs-jadetex.sh
re5345f18 r60454e2 10 10 11 11 max_log_init jadetex ${JADETEX_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 12 ( 12 13 sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \ 13 /usr/share/texmf/web2c/texmf.cnf 14 # TODO: This needs to be added below "ConTeXt is a memory hog" in 15 # /usr/share/texmf/web2c/texmf.cnf 16 #pool_size.context = 750000 17 cat >> /usr/share/texmf/web2c/texmf.cnf << "EOF" 14 -e "s/memory hog.../&\npool_size.context = 750000/" \ 15 $(kpsewhich texmf.cnf) 16 cat >> $(kpsewhich texmf.cnf) << "EOF" 18 17 19 18 % The following 3 sections added for JadeTeX … … 55 54 pool_size.pdfjadetex = 500000 56 55 max_strings.pdfjadetex = 55000 56 57 57 EOF 58 58 59 cp -R /usr/share/texmf/tex/latex/config . && 60 cd config && 61 tex -ini -progname=latex latex.ini && 62 mv /usr/share/texmf/web2c/latex.fmt \ 63 /usr/share/texmf/web2c/latex.fmt.orig && 64 install -m 644 latex.fmt /usr/share/texmf/web2c && 65 cd .. 59 LATEX_FMT_DIR="$(kpsewhich -expand-var '$TEXMFSYSVAR')/web2c" && 60 mv -v $(kpsewhich latex.fmt) $(kpsewhich latex.fmt).orig && 61 mv -v ${LATEX_FMT_DIR}/latex.log ${LATEX_FMT_DIR}/latex.log.orig && 62 fmtutil-sys --byfmt latex 63 ) >> ${LOGFILE} 2>&1 && 64 echo " o Configure OK" || barf 65 66 min_log_init ${BUILDLOGS} && 67 make \ 68 >> ${LOGFILE} 2>&1 && 69 echo " o Build OK" || barf 66 70 67 71 min_log_init ${INSTLOGS} && 68 make install \ 69 >> ${LOGFILE} 2>&1 && 70 echo " o ALL OK" || barf 72 ( 73 install -v -m755 -d \ 74 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config && 75 install -v -m644 dsssl.def jadetex.ltx \ 76 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex && 77 install -v -m644 {,pdf}jadetex.ini \ 78 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config && 79 FMTUTIL_CNF="$(kpsewhich fmtutil.cnf)" && 80 mv ${FMTUTIL_CNF} ${FMTUTIL_CNF}.orig && 71 81 72 ln -sf tex /usr/bin/jadetex && 73 ln -sf pdftex /usr/bin/pdfjadetex && 74 mktexlsr 82 cat ${FMTUTIL_CNF}.orig - >> ${FMTUTIL_CNF} << "EOF" 75 83 84 # JadeTeX formats: 85 jadetex etex - "&latex" jadetex.ini 86 pdfjadetex pdfetex - "&pdflatex" pdfjadetex.ini 87 88 EOF 89 mv -v $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R \ 90 $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R.orig && 91 mv -v $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R \ 92 $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R.orig && 93 94 mktexlsr && 95 fmtutil-sys --byfmt jadetex && 96 fmtutil-sys --byfmt pdfjadetex && 97 mktexlsr && 98 ln -v -sf etex /usr/bin/jadetex && 99 ln -v -sf pdfetex /usr/bin/pdfjadetex 100 ) >> ${LOGFILE} 2>&1 && 101 echo " o Install OK" || barf 102
Note:
See TracChangeset
for help on using the changeset viewer.