Revision 1533,
4.6 KB
checked in by munepi, 14 years ago
(diff) |
NEW texlive and its related packages: replacement of teTeX
|
-
diff -up ptexlive-20100322/common.sh\~ ptexlive-20100322/common.sh
old
|
new
|
LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_ |
298 | 298 | TEXMF=$TEXMFMAIN |
299 | 299 | unset TEXINPUTS |
300 | 300 | unset PTEX_KANJI_ENC |
301 | | PTEX_IN_FILTER=no |
| 301 | PTEX_IN_FILTER=yes |
302 | 302 | export PATH LD_LIBRARY_PATH TEXMFMAIN PTEX_IN_FILTER |
303 | 303 | #echo "ARCH=$ARCH" |
-
Diff finished. Fri May 14 16:19:55 2010
diff -up ptexlive-20100322/common.sh\~ ptexlive-20100322/common.sh
old
|
new
|
PATH=`echo $PATH | sed -e "s|$PREFIX/bin |
291 | 291 | |
292 | 292 | echo ${SRC_TAR:=$ISO_DIR/source/texlive-20091011-source.tar.xz} > /dev/null |
293 | 293 | SRC=${TEXSRC_EXTRACTED:-$TMP_PREFIX/texlive-20091011-source} |
294 | | ARCH=`ls $SRC/inst/bin/ 2> /dev/null` |
295 | | PATH=$SRC/inst/bin/$ARCH:$PATH |
296 | | LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_LIBRARY_PATH |
| 294 | # ARCH=`ls $SRC/inst/bin/ 2> /dev/null` |
| 295 | # PATH=$SRC/inst/bin/$ARCH:$PATH |
| 296 | # LD_LIBRARY_PATH=$SRC/inst/lib/$ARCH:$LD_LIBRARY_PATH |
| 297 | PATH=$SRC/inst/bin:$PATH |
| 298 | LD_LIBRARY_PATH=$SRC/inst/lib:$LD_LIBRARY_PATH |
297 | 299 | TEXMFMAIN=$SRC/inst/texmf |
298 | 300 | TEXMF=$TEXMFMAIN |
299 | 301 | unset TEXINPUTS |
-
Diff finished. Fri May 14 16:23:53 2010
diff -up ptexlive-20100322/4extract-texmf.sh.orig ptexlive-20100322/4extract-texmf.sh
old
|
new
|
root_check |
9 | 9 | MAP=$TEXMF/fonts/map/dvipdfm/ptexlive |
10 | 10 | |
11 | 11 | ## start |
12 | | $MV $TEXMF-dist $TEXMF-dist.install || exit # never use |
13 | | $MV $TEXMF $TEXMF.install || exit |
14 | | tarcp $TEXLIVE_DIR/texmf $TEXMF || exit |
15 | | chmod -R u+rw $TEXMF || exit |
16 | | tarcp $TEXMF.install $TEXMF || exit |
17 | | $RM -r $TEXMF.install || exit |
| 12 | # $MV $TEXMF-dist $TEXMF-dist.install || exit # never use |
| 13 | # $MV $TEXMF $TEXMF.install || exit |
| 14 | # tarcp $TEXLIVE_DIR/texmf $TEXMF || exit |
| 15 | # chmod -R u+rw $TEXMF || exit |
| 16 | # tarcp $TEXMF.install $TEXMF || exit |
| 17 | # $RM -r $TEXMF.install || exit |
18 | 18 | |
19 | | $LN $TEXLIVE_DIR/tlpkg $TEXMF/.. || exit |
20 | | $LN $TEXLIVE_DIR/texmf-dist $TEXMF/.. || exit |
| 19 | # $LN $TEXLIVE_DIR/tlpkg $TEXMF/.. || exit |
| 20 | # $LN $TEXLIVE_DIR/texmf-dist $TEXMF/.. || exit |
21 | 21 | |
22 | 22 | |
23 | 23 | ## for ptex |
… |
… |
jun101-l-v V Jun101-Light |
115 | 115 | EOF |
116 | 116 | |
117 | 117 | ## for jis/jisg/morisawa |
118 | | tarx archive/jis.tar.xz $PTEXLIVE_TMP |
119 | | $CP $PTEXLIVE_TMP/jis/tfm/ptex/* $TEXMF/fonts/tfm/ptex/ || exit |
120 | | $CP $PTEXLIVE_TMP/jis/vf/* $TEXMF/fonts/vf/ptex/ || exit |
| 118 | # tarx archive/jis.tar.xz $PTEXLIVE_TMP |
| 119 | # $CP $PTEXLIVE_TMP/jis/tfm/ptex/* $TEXMF/fonts/tfm/ptex/ || exit |
| 120 | # $CP $PTEXLIVE_TMP/jis/vf/* $TEXMF/fonts/vf/ptex/ || exit |
121 | 121 | |
122 | 122 | tarx archive/morisawa.tar.xz $PTEXLIVE_TMP |
123 | 123 | $CP $PTEXLIVE_TMP/morisawa/tfm/dvips/* $TEXMF/fonts/tfm/ptex/ || exit |
124 | 124 | $CP $PTEXLIVE_TMP/morisawa/tfm/ptex/* $TEXMF/fonts/tfm/ptex/ || exit |
125 | 125 | $CP $PTEXLIVE_TMP/morisawa/vf/* $TEXMF/fonts/vf/ptex/ || exit |
126 | 126 | |
127 | | ## replace same vf file with symbolic link |
128 | | (cd $TEXMF/fonts/vf/ptex || exit |
129 | | if cmp min10.vf goth10.vf > /dev/null; then |
130 | | echo " Do nothing because of bug of 'cmp'." |
131 | | else |
132 | | for f in *10.vf; do |
133 | | if test ! -h $f; then |
134 | | for g in *min*.vf *goth*.vf; do |
135 | | if test ! -h $g -a $f != $g; then |
136 | | cmp $f $g > /dev/null && ($RM $g; $LN $f $g) |
137 | | fi |
138 | | done |
139 | | fi |
140 | | done |
141 | | fi |
142 | | ) |
| 127 | # ## replace same vf file with symbolic link |
| 128 | # (cd $TEXMF/fonts/vf/ptex || exit |
| 129 | # if cmp min10.vf goth10.vf > /dev/null; then |
| 130 | # echo " Do nothing because of bug of 'cmp'." |
| 131 | # else |
| 132 | # for f in *10.vf; do |
| 133 | # if test ! -h $f; then |
| 134 | # for g in *min*.vf *goth*.vf; do |
| 135 | # if test ! -h $g -a $f != $g; then |
| 136 | # cmp $f $g > /dev/null && ($RM $g; $LN $f $g) |
| 137 | # fi |
| 138 | # done |
| 139 | # fi |
| 140 | # done |
| 141 | # fi |
| 142 | # ) |
143 | 143 | |
144 | 144 | ## doc |
145 | 145 | $MKDIR $TEXMF/doc/ptexlive || exit |
… |
… |
find . -type f -name .cvsignore -exec $R |
158 | 158 | ) |
159 | 159 | echo "" |
160 | 160 | |
161 | | # updmap |
162 | | $MKTEXLSR 2> /dev/null || exit |
163 | | $UPDMAP --nomkmap --syncwithtrees 2> /dev/null || exit |
164 | | if test -f $SRC/inst/texmf-config/web2c/updmap.cfg; then |
165 | | $MV $SRC/inst/texmf-config/web2c/updmap.cfg $SRC/inst/texmf/web2c/ || exit |
166 | | fi |
| 161 | # # updmap |
| 162 | # $MKTEXLSR 2> /dev/null || exit |
| 163 | # $UPDMAP --nomkmap --syncwithtrees 2> /dev/null || exit |
| 164 | # if test -f $SRC/inst/texmf-config/web2c/updmap.cfg; then |
| 165 | # $MV $SRC/inst/texmf-config/web2c/updmap.cfg $SRC/inst/texmf/web2c/ || exit |
| 166 | # fi |
167 | 167 | |
168 | 168 | ## check |
169 | 169 | cat md5sum/texmf | (cd $TEXMF; md5check) && exit |
Note: See
TracBrowser
for help on using the repository browser.