diff -up ptexlive-20100322/common.sh\~ ptexlive-20100322/common.sh
--- ptexlive-20100322/common.sh~	2010-03-21 18:27:02.000000000 +0900
+++ ptexlive-20100322/common.sh	2010-05-14 16:18:48.000000000 +0900
@@ -298,6 +298,6 @@ LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_
 TEXMF=$TEXMFMAIN
 unset TEXINPUTS
 unset PTEX_KANJI_ENC
-PTEX_IN_FILTER=no
+PTEX_IN_FILTER=yes
 export PATH LD_LIBRARY_PATH TEXMFMAIN PTEX_IN_FILTER
 #echo "ARCH=$ARCH"

Diff finished.  Fri May 14 16:19:55 2010

diff -up ptexlive-20100322/common.sh\~ ptexlive-20100322/common.sh
--- ptexlive-20100322/common.sh~	2010-03-21 18:27:02.000000000 +0900
+++ ptexlive-20100322/common.sh	2010-05-14 16:18:48.000000000 +0900
@@ -291,9 +291,11 @@ PATH=`echo $PATH | sed -e "s|$PREFIX/bin
 
 echo ${SRC_TAR:=$ISO_DIR/source/texlive-20091011-source.tar.xz} > /dev/null
 SRC=${TEXSRC_EXTRACTED:-$TMP_PREFIX/texlive-20091011-source}
-ARCH=`ls $SRC/inst/bin/ 2> /dev/null`
-           PATH=$SRC/inst/bin/$ARCH:$PATH
-LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_LIBRARY_PATH
+# ARCH=`ls $SRC/inst/bin/ 2> /dev/null`
+#            PATH=$SRC/inst/bin/$ARCH:$PATH
+# LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_LIBRARY_PATH
+           PATH=$SRC/inst/bin:$PATH
+LD_LIBRARY_PATH=$SRC/inst/lib:$LD_LIBRARY_PATH
       TEXMFMAIN=$SRC/inst/texmf
 TEXMF=$TEXMFMAIN
 unset TEXINPUTS

Diff finished.  Fri May 14 16:23:53 2010


diff -up ptexlive-20100322/4extract-texmf.sh.orig ptexlive-20100322/4extract-texmf.sh
--- ptexlive-20100322/4extract-texmf.sh.orig	2010-03-07 19:22:24.000000000 +0900
+++ ptexlive-20100322/4extract-texmf.sh	2010-05-18 01:01:07.214104089 +0900
@@ -9,15 +9,15 @@ root_check
 MAP=$TEXMF/fonts/map/dvipdfm/ptexlive
 
 ## start
-$MV $TEXMF-dist $TEXMF-dist.install || exit # never use
-$MV $TEXMF      $TEXMF.install      || exit
-tarcp $TEXLIVE_DIR/texmf $TEXMF     || exit
-chmod -R u+rw            $TEXMF     || exit
-tarcp  $TEXMF.install    $TEXMF     || exit
-$RM -r $TEXMF.install               || exit
+# $MV $TEXMF-dist $TEXMF-dist.install || exit # never use
+# $MV $TEXMF      $TEXMF.install      || exit
+# tarcp $TEXLIVE_DIR/texmf $TEXMF     || exit
+# chmod -R u+rw            $TEXMF     || exit
+# tarcp  $TEXMF.install    $TEXMF     || exit
+# $RM -r $TEXMF.install               || exit
 
-$LN $TEXLIVE_DIR/tlpkg      $TEXMF/.. || exit
-$LN $TEXLIVE_DIR/texmf-dist $TEXMF/.. || exit
+# $LN $TEXLIVE_DIR/tlpkg      $TEXMF/.. || exit
+# $LN $TEXLIVE_DIR/texmf-dist $TEXMF/.. || exit
 
 
 ## for ptex
@@ -115,31 +115,31 @@ jun101-l-v  V	Jun101-Light
 EOF
 
 ## for jis/jisg/morisawa
-tarx archive/jis.tar.xz $PTEXLIVE_TMP
-$CP $PTEXLIVE_TMP/jis/tfm/ptex/* $TEXMF/fonts/tfm/ptex/ || exit
-$CP $PTEXLIVE_TMP/jis/vf/*       $TEXMF/fonts/vf/ptex/  || exit
+# tarx archive/jis.tar.xz $PTEXLIVE_TMP
+# $CP $PTEXLIVE_TMP/jis/tfm/ptex/* $TEXMF/fonts/tfm/ptex/ || exit
+# $CP $PTEXLIVE_TMP/jis/vf/*       $TEXMF/fonts/vf/ptex/  || exit
 
 tarx archive/morisawa.tar.xz $PTEXLIVE_TMP
 $CP $PTEXLIVE_TMP/morisawa/tfm/dvips/* $TEXMF/fonts/tfm/ptex/ || exit
 $CP $PTEXLIVE_TMP/morisawa/tfm/ptex/*  $TEXMF/fonts/tfm/ptex/ || exit
 $CP $PTEXLIVE_TMP/morisawa/vf/*        $TEXMF/fonts/vf/ptex/  || exit
 
-## replace same vf file with symbolic link
-(cd $TEXMF/fonts/vf/ptex || exit
-if cmp min10.vf goth10.vf > /dev/null; then
-    echo "  Do nothing because of bug of 'cmp'."
-else
-    for f in *10.vf; do
-	if test ! -h $f; then
-	    for g in *min*.vf *goth*.vf; do
-		if test ! -h $g -a $f != $g; then
-		    cmp $f $g > /dev/null && ($RM $g; $LN $f $g)
-		fi
-	    done
-	fi
-    done
-fi
-)
+# ## replace same vf file with symbolic link
+# (cd $TEXMF/fonts/vf/ptex || exit
+# if cmp min10.vf goth10.vf > /dev/null; then
+#     echo "  Do nothing because of bug of 'cmp'."
+# else
+#     for f in *10.vf; do
+# 	if test ! -h $f; then
+# 	    for g in *min*.vf *goth*.vf; do
+# 		if test ! -h $g -a $f != $g; then
+# 		    cmp $f $g > /dev/null && ($RM $g; $LN $f $g)
+# 		fi
+# 	    done
+# 	fi
+#     done
+# fi
+# )
 
 ## doc
 $MKDIR $TEXMF/doc/ptexlive || exit
@@ -158,12 +158,12 @@ find . -type f -name .cvsignore -exec $R
 )
 echo ""
 
-# updmap
-$MKTEXLSR 2> /dev/null || exit
-$UPDMAP --nomkmap --syncwithtrees 2> /dev/null || exit
-if test -f $SRC/inst/texmf-config/web2c/updmap.cfg; then
-    $MV $SRC/inst/texmf-config/web2c/updmap.cfg $SRC/inst/texmf/web2c/ || exit
-fi
+# # updmap
+# $MKTEXLSR 2> /dev/null || exit
+# $UPDMAP --nomkmap --syncwithtrees 2> /dev/null || exit
+# if test -f $SRC/inst/texmf-config/web2c/updmap.cfg; then
+#     $MV $SRC/inst/texmf-config/web2c/updmap.cfg $SRC/inst/texmf/web2c/ || exit
+# fi
 
 ## check
 cat md5sum/texmf | (cd $TEXMF; md5check) && exit

Diff finished.  Tue May 18 01:01:33 2010
