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