source: trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff @ 53401

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

pTeX:

  • Fixed a minor issue about glue calculation.
  • From this version, the math baseline shift can be changed by \(y|t)baselineshift command.

see also:
http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/53287.html
http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=327
http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=29

File size: 3.1 KB
  • ./2extract-src.sh

    old new  
    1414fi
    1515
    1616PTEXENC=$SRC/texk/ptexenc/patches
    17 GSNOEMBED="-dNOKANJI -c '.setpdfwrite << /NeverEmbed [/Courier /Courier-Bold /Courier-Oblique /Courier-BoldOblique /Helvetica /Helvetica-Bold /Helvetica-Oblique /Helvetica-BoldOblique /Times-Roman /Times-Bold /Times-Italic /Times-BoldItalic /Symbol /ZapfDingbats /Ryumin-Light /GothicBBB-Medium] >> setdistillerparams'"
    1817
    1918## start
    2019test -z "$TEXSRC_EXTRACTED" \
     
    4645    || perlprint 's/LRa/LRat/' $SRC/texk/kpathsea/mktexlsr
    4746rm $PTETEX_TMP
    4847
    49 # epstopdf no embed fonts
    50 perlprint "s/OutputFilename -/OutputFilename \\\$GSNOEMBED -/;
    51         print \"### no embed fonts\nmy \\\$GSNOEMBED=\\\"$GSNOEMBED\\\";\n\n\"
    52         if /option BoundingBox types/" \
    53     $SRC/texk/tetex/epstopdf
    5448# add --nostop option: don't stop even if a map file is not found
    5549cpatch archive/updmap-nostop.patch     0 $SRC/texk/tetex
    5650# ebb patch (+ArtBox)
     
    9993tarx archive/ptex-src-3.1.10.tar.gz $SRC/texk/web2c
    10094mv $SRC/texk/web2c/ptex-src-* $SRC/texk/web2c/ptex || exit
    10195cpatch $PTEXENC/ptex-src-3.1.10-ptexenc.patch     1 $SRC/texk/web2c/ptex
     96cpatch archive/ptex-src-3.1.10-forum327.patch     0 $SRC/texk/web2c/ptex
    10297# comment out TEXINPUTS.platex (not to be erased by mkconf)
    10398perlprint 's/^(TEXINPUTS.platex)/% \1/g' $SRC/texk/kpathsea/texmf.in
    10499# rewrite 'platex2e_inputs' macro
     
    133128cpatch $PTEXENC/makejvf-1.1a-ptexenc.patch 1 $SRC/texk/makejvf
    134129
    135130## for dvipdfmx
    136 tarx archive/dvipdfmx-20070409.tar.gz $SRC/texk
     131tarx archive/dvipdfmx-20090506.tar.gz $SRC/texk
    137132mv $SRC/texk/dvipdfmx-* $SRC/texk/dvipdfmx || exit
    138 perlprint "s/ cid-x.map\$/ kanjix.map/g;
    139         s|^%(D  \"gs .*%o) (%i .*\")|\1 $GSNOEMBED -f \2|" \
    140     $SRC/texk/dvipdfmx/data/config/dvipdfmx.cfg
    141 $RM $SRC/texk/dvipdfmx/data/config/cid-x.map
     133perlprint "s/ cid-x.map\$/ kanjix.map/g" $SRC/texk/dvipdfmx/data/dvipdfmx.cfg
     134$RM $SRC/texk/dvipdfmx/data/cid-x.map
    142135perlnoprint "print unless /cid-x/" $SRC/texk/dvipdfmx/data/Makefile.in
    143136
    144137
     
    152145#tarx archive/dvipsk-jpatch-p1.7a.tar.gz          $SRC/texk/${P}dvipsk
    153146#cpatch $SRC/texk/${P}dvipsk/dvipsk-p1.7a.patch 1 $SRC/texk/${P}dvipsk
    154147$CP $SRC/texk/${P}dvipsk/Makefile.in $SRC/texk/${P}dvipsk/Makefile.in.tetex
    155 tarx archive/dvipsk-5.96-p1.7b.tar.gz                $SRC/texk/${P}dvipsk
    156 cpatch $SRC/texk/${P}dvipsk/dvipsk-5.96-p1.7b.diff 1 $SRC/texk/${P}dvipsk
     148tarx archive/dvipsk-5.97-p1.7b-20090509.tar.gz       $SRC/texk/${P}dvipsk
     149cpatch $SRC/texk/${P}dvipsk/dvipsk-5.97-p1.7b.diff 1 $SRC/texk/${P}dvipsk
    157150## disable installing 'config.ps'
    158151$CP $SRC/texk/${P}dvipsk/Makefile.in       $SRC/texk/${P}dvipsk/Makefile.in.jp
    159152$CP $SRC/texk/${P}dvipsk/Makefile.in.tetex $SRC/texk/${P}dvipsk/Makefile.in
     
    263256
    264257
    265258## check
    266 cat md5sum/texsrc.$JAPANESE | (cd $SRC; md5check) && exit
     259if cat md5sum/texsrc.$JAPANESE | (cd $SRC; md5check); then
     260    cpatch archive/dvipng-tiger-#18254.diff        1 $SRC
     261    cpatch archive/xdvik-tiger-#18254.diff         1 $SRC
     262    exit
     263fi
    267264cat <<EOF
    268265
    269266$0: Some processes were performed improperly.
Note: See TracBrowser for help on using the repository browser.