source: projects/specs/branches/6/t/texlive/ptexlive-20100711-vine.patch @ 1533

Revision 1533, 4.6 KB checked in by munepi, 14 years ago (diff)

NEW texlive and its related packages: replacement of teTeX

  • ptexlive-20100322/common.sh

    diff -up ptexlive-20100322/common.sh\~ ptexlive-20100322/common.sh
    old new LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_ 
    298298TEXMF=$TEXMFMAIN 
    299299unset TEXINPUTS 
    300300unset PTEX_KANJI_ENC 
    301 PTEX_IN_FILTER=no 
     301PTEX_IN_FILTER=yes 
    302302export PATH LD_LIBRARY_PATH TEXMFMAIN PTEX_IN_FILTER 
    303303#echo "ARCH=$ARCH" 
  • ptexlive-20100322/common.sh

    Diff finished.  Fri May 14 16:19:55 2010
    
    diff -up ptexlive-20100322/common.sh\~ ptexlive-20100322/common.sh
    old new PATH=`echo $PATH | sed -e "s|$PREFIX/bin 
    291291 
    292292echo ${SRC_TAR:=$ISO_DIR/source/texlive-20091011-source.tar.xz} > /dev/null 
    293293SRC=${TEXSRC_EXTRACTED:-$TMP_PREFIX/texlive-20091011-source} 
    294 ARCH=`ls $SRC/inst/bin/ 2> /dev/null` 
    295            PATH=$SRC/inst/bin/$ARCH:$PATH 
    296 LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_LIBRARY_PATH 
     294# ARCH=`ls $SRC/inst/bin/ 2> /dev/null` 
     295#            PATH=$SRC/inst/bin/$ARCH:$PATH 
     296# LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_LIBRARY_PATH 
     297           PATH=$SRC/inst/bin:$PATH 
     298LD_LIBRARY_PATH=$SRC/inst/lib:$LD_LIBRARY_PATH 
    297299      TEXMFMAIN=$SRC/inst/texmf 
    298300TEXMF=$TEXMFMAIN 
    299301unset TEXINPUTS 
  • ptexlive-20100322/4extract-texmf.sh

    Diff finished.  Fri May 14 16:23:53 2010
    
    
    diff -up ptexlive-20100322/4extract-texmf.sh.orig ptexlive-20100322/4extract-texmf.sh
    old new root_check 
    99MAP=$TEXMF/fonts/map/dvipdfm/ptexlive 
    1010 
    1111## start 
    12 $MV $TEXMF-dist $TEXMF-dist.install || exit # never use 
    13 $MV $TEXMF      $TEXMF.install      || exit 
    14 tarcp $TEXLIVE_DIR/texmf $TEXMF     || exit 
    15 chmod -R u+rw            $TEXMF     || exit 
    16 tarcp  $TEXMF.install    $TEXMF     || exit 
    17 $RM -r $TEXMF.install               || exit 
     12# $MV $TEXMF-dist $TEXMF-dist.install || exit # never use 
     13# $MV $TEXMF      $TEXMF.install      || exit 
     14# tarcp $TEXLIVE_DIR/texmf $TEXMF     || exit 
     15# chmod -R u+rw            $TEXMF     || exit 
     16# tarcp  $TEXMF.install    $TEXMF     || exit 
     17# $RM -r $TEXMF.install               || exit 
    1818 
    19 $LN $TEXLIVE_DIR/tlpkg      $TEXMF/.. || exit 
    20 $LN $TEXLIVE_DIR/texmf-dist $TEXMF/.. || exit 
     19# $LN $TEXLIVE_DIR/tlpkg      $TEXMF/.. || exit 
     20# $LN $TEXLIVE_DIR/texmf-dist $TEXMF/.. || exit 
    2121 
    2222 
    2323## for ptex 
    jun101-l-v V Jun101-Light 
    115115EOF 
    116116 
    117117## for jis/jisg/morisawa 
    118 tarx archive/jis.tar.xz $PTEXLIVE_TMP 
    119 $CP $PTEXLIVE_TMP/jis/tfm/ptex/* $TEXMF/fonts/tfm/ptex/ || exit 
    120 $CP $PTEXLIVE_TMP/jis/vf/*       $TEXMF/fonts/vf/ptex/  || exit 
     118# tarx archive/jis.tar.xz $PTEXLIVE_TMP 
     119# $CP $PTEXLIVE_TMP/jis/tfm/ptex/* $TEXMF/fonts/tfm/ptex/ || exit 
     120# $CP $PTEXLIVE_TMP/jis/vf/*       $TEXMF/fonts/vf/ptex/  || exit 
    121121 
    122122tarx archive/morisawa.tar.xz $PTEXLIVE_TMP 
    123123$CP $PTEXLIVE_TMP/morisawa/tfm/dvips/* $TEXMF/fonts/tfm/ptex/ || exit 
    124124$CP $PTEXLIVE_TMP/morisawa/tfm/ptex/*  $TEXMF/fonts/tfm/ptex/ || exit 
    125125$CP $PTEXLIVE_TMP/morisawa/vf/*        $TEXMF/fonts/vf/ptex/  || exit 
    126126 
    127 ## replace same vf file with symbolic link 
    128 (cd $TEXMF/fonts/vf/ptex || exit 
    129 if cmp min10.vf goth10.vf > /dev/null; then 
    130     echo "  Do nothing because of bug of 'cmp'." 
    131 else 
    132     for f in *10.vf; do 
    133         if test ! -h $f; then 
    134             for g in *min*.vf *goth*.vf; do 
    135                 if test ! -h $g -a $f != $g; then 
    136                     cmp $f $g > /dev/null && ($RM $g; $LN $f $g) 
    137                 fi 
    138             done 
    139         fi 
    140     done 
    141 fi 
    142 ) 
     127# ## replace same vf file with symbolic link 
     128# (cd $TEXMF/fonts/vf/ptex || exit 
     129# if cmp min10.vf goth10.vf > /dev/null; then 
     130#     echo "  Do nothing because of bug of 'cmp'." 
     131# else 
     132#     for f in *10.vf; do 
     133#       if test ! -h $f; then 
     134#           for g in *min*.vf *goth*.vf; do 
     135#               if test ! -h $g -a $f != $g; then 
     136#                   cmp $f $g > /dev/null && ($RM $g; $LN $f $g) 
     137#               fi 
     138#           done 
     139#       fi 
     140#     done 
     141# fi 
     142# ) 
    143143 
    144144## doc 
    145145$MKDIR $TEXMF/doc/ptexlive || exit 
    find . -type f -name .cvsignore -exec $R 
    158158) 
    159159echo "" 
    160160 
    161 # updmap 
    162 $MKTEXLSR 2> /dev/null || exit 
    163 $UPDMAP --nomkmap --syncwithtrees 2> /dev/null || exit 
    164 if test -f $SRC/inst/texmf-config/web2c/updmap.cfg; then 
    165     $MV $SRC/inst/texmf-config/web2c/updmap.cfg $SRC/inst/texmf/web2c/ || exit 
    166 fi 
     161# # updmap 
     162# $MKTEXLSR 2> /dev/null || exit 
     163# $UPDMAP --nomkmap --syncwithtrees 2> /dev/null || exit 
     164# if test -f $SRC/inst/texmf-config/web2c/updmap.cfg; then 
     165#     $MV $SRC/inst/texmf-config/web2c/updmap.cfg $SRC/inst/texmf/web2c/ || exit 
     166# fi 
    167167 
    168168## check 
    169169cat md5sum/texmf | (cd $TEXMF; md5check) && exit 
Note: See TracBrowser for help on using the repository browser.