source: trunk/dports/tex/pTeX/files/patch-3extract-texmf.sh.diff @ 71968

Last change on this file since 71968 was 52131, checked in by takanori@…, 11 years ago

pTeX: Removed a time bomb from latex.ltx.

LaTeX has a time bomb that breaks itself if it is older than 65 months.
pTeX is still using LaTeX <2003/12/01> so this is fatal.

See also:

File size: 3.7 KB
  • ./3extract-texmf.sh

    old new  
    1818    chmod -x $TEXMF-dist/scripts/*/*.pl || exit
    1919fi
    2020
     21cpatch archive/latex-timebomb.diff 0 $TEXMF-dist
     22
    2123# update config.ps with TeX Live 2007 svn (10/25)
    2224$MKDIR $TEXMF/dvips/config
    2325$CP archive/config.ps $TEXMF/dvips/config/config.ps
    2426
    2527## for dvips (pstricks)
    26 tarx archive/dvipsk-5.96-p1.7b.tar.gz $PTETEX_TMP
     28tarx archive/dvipsk-5.97-p1.7b-20090509.tar.gz $PTETEX_TMP
    2729distcp $TEXMF dvips/pstricks pst-text.pro
    28 cpatch $PTETEX_TMP/PSTricks.patch 0 $TEXMF/dvips/pstricks
     30cpatch archive/PSTricks.patch 0 $TEXMF/dvips/pstricks
    2931
    3032
    3133if test "$JAPANESE" != "without"; then
     
    157159distcp $TEXMF tex/latex/marvosym marvosym.sty
    158160cpatch archive/tetex-3.0-marvosym-rightarrow.patch 2 $TEXMF
    159161
     162# update txfonts from v3.2 to v3.2.1
     163$RM -r $TEXMF-dist/doc/fonts/txfonts \
     164       $TEXMF-dist/fonts/afm/public/txfonts \
     165       $TEXMF-dist/fonts/map/dvips/tetex/txfonts.map \
     166       $TEXMF-dist/fonts/tfm/public/txfonts \
     167       $TEXMF-dist/fonts/type1/public/txfonts \
     168       $TEXMF-dist/fonts/vf/public/txfonts \
     169       $TEXMF-dist/tex/latex/txfonts || exit
     170$MKDIR $TEXMF-dist/doc/fonts/txfonts \
     171       $TEXMF-dist/fonts/afm/public/txfonts \
     172       $TEXMF-dist/fonts/enc/dvips/txfonts \
     173       $TEXMF-dist/fonts/map/dvips/txfonts \
     174       $TEXMF-dist/fonts/tfm/public/txfonts \
     175       $TEXMF-dist/fonts/type1/public/txfonts \
     176       $TEXMF-dist/fonts/vf/public/txfonts \
     177       $TEXMF-dist/tex/latex/txfonts || exit
     178tarx archive/txfonts-3.2.1.zip $PTETEX_TMP
     179$CP $PTETEX_TMP/txfonts/doc/* $PTETEX_TMP/txfonts/00bug_fix.txt $PTETEX_TMP/txfonts/COPYRIGHT $PTETEX_TMP/txfonts/README $TEXMF-dist/doc/fonts/txfonts/ || exit
     180$CP $PTETEX_TMP/txfonts/afm/* $TEXMF-dist/fonts/afm/public/txfonts/ || exit
     181$CP $PTETEX_TMP/txfonts/dvips/*.enc $TEXMF-dist/fonts/enc/dvips/txfonts/ || exit
     182$CP $PTETEX_TMP/txfonts/dvipdfm/*.map $PTETEX_TMP/txfonts/dvips/*.map $TEXMF-dist/fonts/map/dvips/txfonts/ || exit
     183$CP $PTETEX_TMP/txfonts/tfm/* $TEXMF-dist/fonts/tfm/public/txfonts/ || exit
     184$CP $PTETEX_TMP/txfonts/pfb/* $TEXMF-dist/fonts/type1/public/txfonts/ || exit
     185$CP $PTETEX_TMP/txfonts/vf/* $TEXMF-dist/fonts/vf/public/txfonts/ || exit
     186$CP $PTETEX_TMP/txfonts/input/* $TEXMF-dist/tex/latex/txfonts/ || exit
     187
     188# update pxfonts from v1.1 to v1.1.1
     189$RM -r $TEXMF-dist/doc/fonts/pxfonts \
     190       $TEXMF-dist/fonts/afm/public/pxfonts \
     191       $TEXMF-dist/fonts/map/dvips/tetex/pxfonts.map \
     192       $TEXMF-dist/fonts/tfm/public/pxfonts \
     193       $TEXMF-dist/fonts/type1/public/pxfonts \
     194       $TEXMF-dist/fonts/vf/public/pxfonts \
     195       $TEXMF-dist/tex/latex/pxfonts || exit
     196$MKDIR $TEXMF-dist/doc/fonts/pxfonts \
     197       $TEXMF-dist/fonts/afm/public/pxfonts \
     198       $TEXMF-dist/fonts/map/dvips/pxfonts \
     199       $TEXMF-dist/fonts/tfm/public/pxfonts \
     200       $TEXMF-dist/fonts/type1/public/pxfonts \
     201       $TEXMF-dist/fonts/vf/public/pxfonts \
     202       $TEXMF-dist/tex/latex/pxfonts || exit
     203tarx archive/pxfonts-1.1.1.zip $PTETEX_TMP
     204$CP $PTETEX_TMP/pxfonts/doc/* $PTETEX_TMP/pxfonts/00bug_fix.txt $PTETEX_TMP/pxfonts/COPYRIGHT $TEXMF-dist/doc/fonts/pxfonts/ || exit
     205$CP $PTETEX_TMP/pxfonts/afm/* $TEXMF-dist/fonts/afm/public/pxfonts/ || exit
     206$CP $PTETEX_TMP/pxfonts/dvipdfm/*.map $PTETEX_TMP/pxfonts/dvips/*.map $TEXMF-dist/fonts/map/dvips/pxfonts/ || exit
     207$CP $PTETEX_TMP/pxfonts/tfm/* $TEXMF-dist/fonts/tfm/public/pxfonts/ || exit
     208$CP $PTETEX_TMP/pxfonts/pfb/* $TEXMF-dist/fonts/type1/public/pxfonts/ || exit
     209$CP $PTETEX_TMP/pxfonts/vf/* $TEXMF-dist/fonts/vf/public/pxfonts/ || exit
     210$CP $PTETEX_TMP/pxfonts/input/* $TEXMF-dist/tex/latex/pxfonts/ || exit
     211
    160212## post
    161213$RM -r $PTETEX_TMP || exit
    162214(cd $TEXMF || exit
Note: See TracBrowser for help on using the repository browser.