ptexlive-20100711-vine.patch 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. diff -up ptexlive-20100322/common.sh\~ ptexlive-20100322/common.sh
  2. --- ptexlive-20100322/common.sh~ 2010-03-21 18:27:02.000000000 +0900
  3. +++ ptexlive-20100322/common.sh 2010-05-14 16:18:48.000000000 +0900
  4. @@ -298,6 +298,6 @@ LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_
  5. TEXMF=$TEXMFMAIN
  6. unset TEXINPUTS
  7. unset PTEX_KANJI_ENC
  8. -PTEX_IN_FILTER=no
  9. +PTEX_IN_FILTER=yes
  10. export PATH LD_LIBRARY_PATH TEXMFMAIN PTEX_IN_FILTER
  11. #echo "ARCH=$ARCH"
  12. Diff finished. Fri May 14 16:19:55 2010
  13. diff -up ptexlive-20100322/common.sh\~ ptexlive-20100322/common.sh
  14. --- ptexlive-20100322/common.sh~ 2010-03-21 18:27:02.000000000 +0900
  15. +++ ptexlive-20100322/common.sh 2010-05-14 16:18:48.000000000 +0900
  16. @@ -291,9 +291,11 @@ PATH=`echo $PATH | sed -e "s|$PREFIX/bin
  17. echo ${SRC_TAR:=$ISO_DIR/source/texlive-20091011-source.tar.xz} > /dev/null
  18. SRC=${TEXSRC_EXTRACTED:-$TMP_PREFIX/texlive-20091011-source}
  19. -ARCH=`ls $SRC/inst/bin/ 2> /dev/null`
  20. - PATH=$SRC/inst/bin/$ARCH:$PATH
  21. -LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_LIBRARY_PATH
  22. +# ARCH=`ls $SRC/inst/bin/ 2> /dev/null`
  23. +# PATH=$SRC/inst/bin/$ARCH:$PATH
  24. +# LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_LIBRARY_PATH
  25. + PATH=$SRC/inst/bin:$PATH
  26. +LD_LIBRARY_PATH=$SRC/inst/lib:$LD_LIBRARY_PATH
  27. TEXMFMAIN=$SRC/inst/texmf
  28. TEXMF=$TEXMFMAIN
  29. unset TEXINPUTS
  30. Diff finished. Fri May 14 16:23:53 2010
  31. diff -up ptexlive-20100322/4extract-texmf.sh.orig ptexlive-20100322/4extract-texmf.sh
  32. --- ptexlive-20100322/4extract-texmf.sh.orig 2010-03-07 19:22:24.000000000 +0900
  33. +++ ptexlive-20100322/4extract-texmf.sh 2010-05-18 01:01:07.214104089 +0900
  34. @@ -9,15 +9,15 @@ root_check
  35. MAP=$TEXMF/fonts/map/dvipdfm/ptexlive
  36. ## start
  37. -$MV $TEXMF-dist $TEXMF-dist.install || exit # never use
  38. -$MV $TEXMF $TEXMF.install || exit
  39. -tarcp $TEXLIVE_DIR/texmf $TEXMF || exit
  40. -chmod -R u+rw $TEXMF || exit
  41. -tarcp $TEXMF.install $TEXMF || exit
  42. -$RM -r $TEXMF.install || exit
  43. +# $MV $TEXMF-dist $TEXMF-dist.install || exit # never use
  44. +# $MV $TEXMF $TEXMF.install || exit
  45. +# tarcp $TEXLIVE_DIR/texmf $TEXMF || exit
  46. +# chmod -R u+rw $TEXMF || exit
  47. +# tarcp $TEXMF.install $TEXMF || exit
  48. +# $RM -r $TEXMF.install || exit
  49. -$LN $TEXLIVE_DIR/tlpkg $TEXMF/.. || exit
  50. -$LN $TEXLIVE_DIR/texmf-dist $TEXMF/.. || exit
  51. +# $LN $TEXLIVE_DIR/tlpkg $TEXMF/.. || exit
  52. +# $LN $TEXLIVE_DIR/texmf-dist $TEXMF/.. || exit
  53. ## for ptex
  54. @@ -115,31 +115,31 @@ jun101-l-v V Jun101-Light
  55. EOF
  56. ## for jis/jisg/morisawa
  57. -tarx archive/jis.tar.xz $PTEXLIVE_TMP
  58. -$CP $PTEXLIVE_TMP/jis/tfm/ptex/* $TEXMF/fonts/tfm/ptex/ || exit
  59. -$CP $PTEXLIVE_TMP/jis/vf/* $TEXMF/fonts/vf/ptex/ || exit
  60. +# tarx archive/jis.tar.xz $PTEXLIVE_TMP
  61. +# $CP $PTEXLIVE_TMP/jis/tfm/ptex/* $TEXMF/fonts/tfm/ptex/ || exit
  62. +# $CP $PTEXLIVE_TMP/jis/vf/* $TEXMF/fonts/vf/ptex/ || exit
  63. tarx archive/morisawa.tar.xz $PTEXLIVE_TMP
  64. $CP $PTEXLIVE_TMP/morisawa/tfm/dvips/* $TEXMF/fonts/tfm/ptex/ || exit
  65. $CP $PTEXLIVE_TMP/morisawa/tfm/ptex/* $TEXMF/fonts/tfm/ptex/ || exit
  66. $CP $PTEXLIVE_TMP/morisawa/vf/* $TEXMF/fonts/vf/ptex/ || exit
  67. -## replace same vf file with symbolic link
  68. -(cd $TEXMF/fonts/vf/ptex || exit
  69. -if cmp min10.vf goth10.vf > /dev/null; then
  70. - echo " Do nothing because of bug of 'cmp'."
  71. -else
  72. - for f in *10.vf; do
  73. - if test ! -h $f; then
  74. - for g in *min*.vf *goth*.vf; do
  75. - if test ! -h $g -a $f != $g; then
  76. - cmp $f $g > /dev/null && ($RM $g; $LN $f $g)
  77. - fi
  78. - done
  79. - fi
  80. - done
  81. -fi
  82. -)
  83. +# ## replace same vf file with symbolic link
  84. +# (cd $TEXMF/fonts/vf/ptex || exit
  85. +# if cmp min10.vf goth10.vf > /dev/null; then
  86. +# echo " Do nothing because of bug of 'cmp'."
  87. +# else
  88. +# for f in *10.vf; do
  89. +# if test ! -h $f; then
  90. +# for g in *min*.vf *goth*.vf; do
  91. +# if test ! -h $g -a $f != $g; then
  92. +# cmp $f $g > /dev/null && ($RM $g; $LN $f $g)
  93. +# fi
  94. +# done
  95. +# fi
  96. +# done
  97. +# fi
  98. +# )
  99. ## doc
  100. $MKDIR $TEXMF/doc/ptexlive || exit
  101. @@ -158,12 +158,12 @@ find . -type f -name .cvsignore -exec $R
  102. )
  103. echo ""
  104. -# updmap
  105. -$MKTEXLSR 2> /dev/null || exit
  106. -$UPDMAP --nomkmap --syncwithtrees 2> /dev/null || exit
  107. -if test -f $SRC/inst/texmf-config/web2c/updmap.cfg; then
  108. - $MV $SRC/inst/texmf-config/web2c/updmap.cfg $SRC/inst/texmf/web2c/ || exit
  109. -fi
  110. +# # updmap
  111. +# $MKTEXLSR 2> /dev/null || exit
  112. +# $UPDMAP --nomkmap --syncwithtrees 2> /dev/null || exit
  113. +# if test -f $SRC/inst/texmf-config/web2c/updmap.cfg; then
  114. +# $MV $SRC/inst/texmf-config/web2c/updmap.cfg $SRC/inst/texmf/web2c/ || exit
  115. +# fi
  116. ## check
  117. cat md5sum/texmf | (cd $TEXMF; md5check) && exit
  118. Diff finished. Tue May 18 01:01:33 2010