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

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

pTeX:

  • dvipdfmx is updated to snapshot 20090115
  • babel is now built and installed by default
  • update jsclasses to 090222
  • update txfonts to v3.2.1
  • update pxfonts to v1.1.1
  • update dvipsk to 5.97-p1.7b
  • misc fixes
File size: 2.8 KB
RevLine 
[50428]1--- /Users/takanori/Sources/ptetex3-20080616.orig/2extract-src.sh       2008-06-16 13:50:47.000000000 +0900
2+++ ./2extract-src.sh   2009-03-23 00:15:39.000000000 +0900
3@@ -14,7 +14,6 @@
4 fi
[47284]5 
[50428]6 PTEXENC=$SRC/texk/ptexenc/patches
7-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'"
[47284]8 
[50428]9 ## start
10 test -z "$TEXSRC_EXTRACTED" \
11@@ -46,11 +45,6 @@
12     || perlprint 's/LRa/LRat/' $SRC/texk/kpathsea/mktexlsr
13 rm $PTETEX_TMP
14 
15-# epstopdf no embed fonts
16-perlprint "s/OutputFilename -/OutputFilename \\\$GSNOEMBED -/;
17-       print \"### no embed fonts\nmy \\\$GSNOEMBED=\\\"$GSNOEMBED\\\";\n\n\"
18-       if /option BoundingBox types/" \
19-    $SRC/texk/tetex/epstopdf
20 # add --nostop option: don't stop even if a map file is not found
21 cpatch archive/updmap-nostop.patch     0 $SRC/texk/tetex
22 # ebb patch (+ArtBox)
23@@ -133,12 +127,10 @@
24 cpatch $PTEXENC/makejvf-1.1a-ptexenc.patch 1 $SRC/texk/makejvf
25 
26 ## for dvipdfmx
27-tarx archive/dvipdfmx-20070409.tar.gz $SRC/texk
28+tarx archive/dvipdfmx-20090115.tar.gz $SRC/texk
29 mv $SRC/texk/dvipdfmx-* $SRC/texk/dvipdfmx || exit
30-perlprint "s/ cid-x.map\$/ kanjix.map/g;
31-       s|^%(D  \"gs .*%o) (%i .*\")|\1 $GSNOEMBED -f \2|" \
32-    $SRC/texk/dvipdfmx/data/config/dvipdfmx.cfg
33-$RM $SRC/texk/dvipdfmx/data/config/cid-x.map
34+perlprint "s/ cid-x.map\$/ kanjix.map/g" $SRC/texk/dvipdfmx/data/dvipdfmx.cfg
35+$RM $SRC/texk/dvipdfmx/data/cid-x.map
36 perlnoprint "print unless /cid-x/" $SRC/texk/dvipdfmx/data/Makefile.in
37 
38 
39@@ -152,8 +144,9 @@
40 #tarx archive/dvipsk-jpatch-p1.7a.tar.gz          $SRC/texk/${P}dvipsk
41 #cpatch $SRC/texk/${P}dvipsk/dvipsk-p1.7a.patch 1 $SRC/texk/${P}dvipsk
42 $CP $SRC/texk/${P}dvipsk/Makefile.in $SRC/texk/${P}dvipsk/Makefile.in.tetex
43-tarx archive/dvipsk-5.96-p1.7b.tar.gz                $SRC/texk/${P}dvipsk
44-cpatch $SRC/texk/${P}dvipsk/dvipsk-5.96-p1.7b.diff 1 $SRC/texk/${P}dvipsk
45+tarx archive/dvipsk-5.97-p1.7b.tar.gz                $SRC/texk/${P}dvipsk
46+cpatch $SRC/texk/${P}dvipsk/dvipsk-5.97-p1.7b.diff 1 $SRC/texk/${P}dvipsk
47+cpatch archive/dvipsk-lastext-boundcheck.diff      1 $SRC
48 ## disable installing 'config.ps'
49 $CP $SRC/texk/${P}dvipsk/Makefile.in       $SRC/texk/${P}dvipsk/Makefile.in.jp
50 $CP $SRC/texk/${P}dvipsk/Makefile.in.tetex $SRC/texk/${P}dvipsk/Makefile.in
51@@ -263,7 +255,11 @@
52 
53 
[47284]54 ## check
55-cat md5sum/texsrc.$JAPANESE | (cd $SRC; md5check) && exit
56+if cat md5sum/texsrc.$JAPANESE | (cd $SRC; md5check); then
57+    cpatch archive/dvipng-tiger-#18254.diff        1 $SRC
58+    cpatch archive/xdvik-tiger-#18254.diff         1 $SRC
59+    exit
60+fi
61 cat <<EOF
62 
63 $0: Some processes were performed improperly.
Note: See TracBrowser for help on using the repository browser.