Author: arekm                        Date: Sat Jun  7 18:26:44 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- from fc

---- Files affected:
SOURCES:
   texlive-12a_fix_thumbpdf_invocation.patch (NONE -> 1.1)  (NEW), 
texlive-12b_fix_a2ping_invocation.patch (NONE -> 1.1)  (NEW), 
texlive-12c_fix_pdfcrop_invocation.patch (NONE -> 1.1)  (NEW), 
texlive-12d_fix_ebong_invocation.patch (NONE -> 1.1)  (NEW), 
texlive-12e_fix_vpe_invocation.patch (NONE -> 1.1)  (NEW), 
texlive-2007-badscript.patch (NONE -> 1.1)  (NEW), texlive-2007-browser.patch 
(NONE -> 1.1)  (NEW), texlive-2007-copyright-utf8-man.patch (NONE -> 1.1)  
(NEW), texlive-2007-epstopdf-shellbang.patch (NONE -> 1.1)  (NEW), 
texlive-2007-fmtutil-ptex.patch (NONE -> 1.1)  (NEW), 
texlive-2007-jp-platex209.patch (NONE -> 1.1)  (NEW), 
texlive-2007-kpse-extensions.patch (NONE -> 1.1)  (NEW), 
texlive-2007-makej.patch (NONE -> 1.1)  (NEW), texlive-2007-pdvips.patch (NONE 
-> 1.1)  (NEW), texlive-2007-ptex-3.1.10.patch (NONE -> 1.1)  (NEW), 
texlive-2007-tmpcleanup.patch (NONE -> 1.1)  (NEW), texlive-Build_script.patch 
(NONE -> 1.1)  (NEW), texlive-checklib_fixes.patch (NONE -> 1.1)  
 (NEW), texlive.cron (NONE -> 1.1)  (NEW), texlive-CVE-2007-4033.patch (NONE -> 
1.1)  (NEW), texlive-dviljktemp.patch (NONE -> 1.1)  (NEW), 
texlive-dvips_fontbug_fix_upstream.patch (NONE -> 1.1)  (NEW), 
texlive-dvipsoverflow.patch (NONE -> 1.1)  (NEW), texlive-fedora_paths.patch 
(NONE -> 1.1)  (NEW), texlive-filter-requires.sh (NONE -> 1.1)  (NEW), 
texlive-fix_makempx_installation.patch (NONE -> 1.1)  (NEW), 
texlive-fix_pkfix_invocation.patch (NONE -> 1.1)  (NEW), 
texlive-fmtutil-infloop.patch (NONE -> 1.1)  (NEW), 
texlive-fmtutil_keep_failedlog.patch (NONE -> 1.1)  (NEW), 
texlive-generate-tarball.sh (NONE -> 1.1)  (NEW), texlive-maketexmf.patch (NONE 
-> 1.1)  (NEW), texlive-man-context.patch (NONE -> 1.1)  (NEW), 
texlive-man-notetex.patch (NONE -> 1.1)  (NEW), texlive-mktexlsr_fixes.patch 
(NONE -> 1.1)  (NEW), texlive-more_paths.patch (NONE -> 1.1)  (NEW), 
texlive-pdftex.patch (NONE -> 1.1)  (NEW), texlive-poppler.patch (NONE -> 1.1)  
(NEW), texlive-source-CVE-2007-0650.patc
 h (NONE -> 1.1)  (NEW), texlive-source-icu.patch (NONE -> 1.1)  (NEW), 
texlive-source-t1lib.patch (NONE -> 1.1)  (NEW), texlive-source-warns.patch 
(NONE -> 1.1)  (NEW), texlive-source-x11r7.patch (NONE -> 1.1)  (NEW), 
texlive-teckit.patch (NONE -> 1.1)  (NEW), texlive-texdoc.patch (NONE -> 1.1)  
(NEW), dvipsk-jpatch-pdvips.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/texlive-12a_fix_thumbpdf_invocation.patch
diff -u /dev/null SOURCES/texlive-12a_fix_thumbpdf_invocation.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-12a_fix_thumbpdf_invocation.patch   Sat Jun  7 20:26:37 2008
@@ -0,0 +1,19 @@
+12a_fix_thumbpdf_invocation.dpatch  <[EMAIL PROTECTED]>
+Fix invocation of thumbpdf to get rid of magic
+---
+ build/source/texk/tetex/thumbpdf |    5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+Index: texlive-bin-2007/build/source/texk/tetex/thumbpdf
+===================================================================
+--- texlive-bin-2007.orig/build/source/texk/tetex/thumbpdf     2005-07-06 
13:03:00.000000000 +0200
++++ texlive-bin-2007/build/source/texk/tetex/thumbpdf  2007-05-19 
16:30:21.000000000 +0200
+@@ -1,7 +1,4 @@
+-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S 
$0 $argv:q'
+-  if 0;
+-use strict;
+-$^W=1; # turn warning on
++#!/usr/bin/perl -w
+ #
+ # thumbpdf.pl
+ #

================================================================
Index: SOURCES/texlive-12b_fix_a2ping_invocation.patch
diff -u /dev/null SOURCES/texlive-12b_fix_a2ping_invocation.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-12b_fix_a2ping_invocation.patch     Sat Jun  7 20:26:37 2008
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 12b_fix_a2ping_invocation.dpatch  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix invocation of a2ping to get rid of magic
+
[EMAIL PROTECTED]@
+---
+ build/source/texk/tetex/a2ping |   10 ++--------
+ 1 file changed, 2 insertions(+), 8 deletions(-)
+
+Index: texlive-bin-2006.svn3816/build/source/texk/tetex/a2ping
+===================================================================
+--- texlive-bin-2006.svn3816.orig/build/source/texk/tetex/a2ping       
2006-01-17 22:41:51.000000000 +0100
++++ texlive-bin-2006.svn3816/build/source/texk/tetex/a2ping    2007-01-26 
03:58:02.000000000 +0100
+@@ -1,11 +1,5 @@
+-#! /bin/sh
+-eval '(exit $?0)' && eval 'PERL_BADLANG=x;export PERL_BADLANG;: \
+-;exec perl -x -S -- "$0" ${1+"$@"};#'if 0;
+-eval 'setenv PERL_BADLANG x;exec perl -x -S -- "$0" $argv:q;#'.q+
+-#!perl -w
+-package Htex::a2ping;  $0=~/(.*)/s;[EMAIL PROTECTED],'.';do($1);[EMAIL 
PROTECTED]@;__END__+if !1;
+-# This Perl script was generated by JustLib2 at Wed Apr 23 09:14:13 2003.
+-# Don't touch/remove any lines above; http://www.inf.bme.hu/~pts/justlib
++#! /usr/bin/perl -w
++package Htex::a2ping;
+ #
+ # This program is free software, licensed under the GNU GPL, >=2.0.
+ # This software comes with absolutely NO WARRANTY. Use at your own risk!

================================================================
Index: SOURCES/texlive-12c_fix_pdfcrop_invocation.patch
diff -u /dev/null SOURCES/texlive-12c_fix_pdfcrop_invocation.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-12c_fix_pdfcrop_invocation.patch    Sat Jun  7 20:26:37 2008
@@ -0,0 +1,19 @@
+12c_fix_pdfcrop_invocation.dpatch  <[EMAIL PROTECTED]>
+Fix invocation of pdfcrop to get rid of magic
+---
+ build/source/texk/tetex/pdfcrop |    4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+Index: texlive-bin-2006.svn3816/build/source/texk/tetex/pdfcrop
+===================================================================
+--- texlive-bin-2006.svn3816.orig/build/source/texk/tetex/pdfcrop      
2006-01-03 00:53:39.000000000 +0100
++++ texlive-bin-2006.svn3816/build/source/texk/tetex/pdfcrop   2007-01-26 
03:58:07.000000000 +0100
+@@ -1,7 +1,5 @@
+-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S 
$0 $argv:q'
+-  if 0;
++#!/usr/bin/perl -w
+ use strict;
+-$^W=1; # turn warning on
+ #
+ # pdfcrop.pl
+ #

================================================================
Index: SOURCES/texlive-12d_fix_ebong_invocation.patch
diff -u /dev/null SOURCES/texlive-12d_fix_ebong_invocation.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-12d_fix_ebong_invocation.patch      Sat Jun  7 20:26:37 2008
@@ -0,0 +1,13 @@
+---
+ build/source/texk/texlive/ebong |    1 +
+ 1 file changed, 1 insertion(+)
+
+Index: texlive-bin-2007/build/source/texk/texlive/ebong
+===================================================================
+--- texlive-bin-2007.orig/build/source/texk/texlive/ebong      2007-05-15 
14:44:43.000000000 +0200
++++ texlive-bin-2007/build/source/texk/texlive/ebong   2007-05-15 
14:44:52.000000000 +0200
+@@ -1,3 +1,4 @@
++#!/usr/bin/python
+ # look in newbong
+ import sre
+ A='A'

================================================================
Index: SOURCES/texlive-12e_fix_vpe_invocation.patch
diff -u /dev/null SOURCES/texlive-12e_fix_vpe_invocation.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-12e_fix_vpe_invocation.patch        Sat Jun  7 20:26:37 2008
@@ -0,0 +1,15 @@
+---
+ build/source/texk/texlive/vpe |    3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+Index: texlive-bin-2007/build/source/texk/texlive/vpe
+===================================================================
+--- texlive-bin-2007.orig/build/source/texk/texlive/vpe        2007-05-19 
16:37:45.000000000 +0200
++++ texlive-bin-2007/build/source/texk/texlive/vpe     2007-05-19 
16:37:54.000000000 +0200
+@@ -1,5 +1,4 @@
+-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S 
$0 $argv:q'
+-  if 0;
++#!/usr/bin/perl -w
+ use strict;
+ #
+ # vpe.pl

================================================================
Index: SOURCES/texlive-2007-badscript.patch
diff -u /dev/null SOURCES/texlive-2007-badscript.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-2007-badscript.patch        Sat Jun  7 20:26:37 2008
@@ -0,0 +1,153 @@
+--- TeX/texk/tetex/allcm.badscript     2006-05-24 16:15:36.000000000 -0700
++++ TeX/texk/tetex/allcm       2006-05-24 16:18:47.000000000 -0700
+@@ -14,7 +14,7 @@
+ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
+ 
+ progname=`basename $0`
+-tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$
++tmpdir=`mktemp -d ${TMP-/tmp}/$progname.XXXXXX`
+ 
+ case "$progname" in
+   allec)
+@@ -81,11 +81,6 @@
+   exit 1
+ ' 1 2 3 7 13 15
+ 
+-(umask 077; mkdir "$tmpdir") || {
+-  echo "$progname: failed to create temp directory." >&2
+-  exit 1
+-}
+-
+ cd $tmpdir || exit 1
+ echo >&2
+ echo "---------------------------------------------------------------------" 
>&2
+--- TeX/texk/tetex/fmtutil.badscript   2006-05-24 16:19:21.000000000 -0700
++++ TeX/texk/tetex/fmtutil     2006-05-24 16:22:26.000000000 -0700
+@@ -108,8 +108,6 @@
+ 
+   trap 'cleanup 1' 1 2 3 7 13 15
+   needsCleanup=true
+-  (umask 077; mkdir "$tmpdir") \
+-    || abort "could not create directory \`$tmpdir'"
+ }
+ 
+ 
###############################################################################
+@@ -355,7 +353,7 @@
+   need_find_hyphenfile=false
+   cfgparam=
+   cfgmaint=
+-  tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$
++  tmpdir=`mktemp -d ${TMP-/tmp}/$progname.XXXXXX`
+   verboseFlag=true
+ 
+   # mktexfmtMode: if called as mktexfmt, set to true. Will echo the generated
+--- TeX/texk/tetex/texconfig.badscript 2006-05-24 16:22:54.000000000 -0700
++++ TeX/texk/tetex/texconfig   2006-05-24 16:24:18.000000000 -0700
+@@ -37,7 +37,7 @@
+   TEXMFDBS TEXMFINI TEXMFSCRIPTS TEXPICTS TEXPKS TEXPOOL TEXPSHEADERS
+   TEXSOURCES TFMFONTS TRFONTS TTFONTS VFFONTS WEB2C WEBINPUTS
+ "
+-tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/tctmp.$$
++tmpdir=`mktemp -d "${TMP-/tmp}/$progname.XXXXXX"` || exit 1
+ needsCleanup=false
+ lastUpdatedFile=
+ 
+@@ -216,8 +216,6 @@
+ 
+   trap 'cleanup 1' 1 2 3 7 13 15
+   needsCleanup=true
+-  (umask 077; mkdir "$tmpdir") \
+-    || abort "could not create directory \`$tmpdir'"
+ }
+ 
+ 
###############################################################################
+--- TeX/texk/tetex/texlinks.badscript  2005-08-28 12:45:59.000000000 -0700
++++ TeX/texk/tetex/texlinks    2006-05-24 16:31:25.000000000 -0700
+@@ -100,8 +100,6 @@
+ 
+   trap 'cleanup 1' 1 2 3 7 13 15
+   needsCleanup=true
+-  (umask 077; mkdir "$tmpdir") \
+-    || abort "could not create directory \`$tmpdir'"
+ }
+ 
+ 
+@@ -192,7 +190,7 @@
+ upd_symlinkdir()
+ {
+   search_symlinkdir || return 0
+-  for i in `sed 's@ .*@@' cnf_file_ln.$$`; do
++  for i in `sed 's@ .*@@' $tmpdir/cnf_file_ln`; do
+     install_link "$selfautoloc/$i" "$symlinkdir/$i"
+   done
+ }
+@@ -236,12 +234,12 @@
+   test -f "$cnf_file" || abort "config file \`$cnf' not found"
+ 
+ 
+-  tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/texlinks.$$
++  tmpdir=`mktemp -d ${TMP-/tmp}/$progname.XXXXXX` || exit 1
+   setupTmpDir
+   cd "$tmpdir" || cleanup 1
+ 
+   sed '/^[    ]*#/d; /^[      ]*$/d' $cnf_file \
+-    | awk '{print $1, $2}' > cnf_file_ln.$$
++    | awk '{print $1, $2}' > $tmpdir/cnf_file_ln
+ 
+   if test -z "$dirs"; then
+     if test $multiplatform = true; then
+@@ -259,8 +257,8 @@
+   for d in $dirs; do
+     kpseaccess -w $d \
+       || { errmsg "$d: no write permissions. Skipping..."; continue; }
+-    # cnf_file_ln.$$ has lines with "format engine" pairs
+-    set x `cat cnf_file_ln.$$`; shift
++    # $tmpdir/cnf_file_ln has lines with "format engine" pairs
++    set x `cat $tmpdir/cnf_file_ln`; shift
+     while test $# != 0; do
+       fmt=$1; engine=$2; shift; shift
+ 
+--- TeX/texk/tetex/updmap.badscript    2006-05-24 16:32:13.000000000 -0700
++++ TeX/texk/tetex/updmap      2006-05-24 16:33:51.000000000 -0700
+@@ -769,7 +769,6 @@
+ 
+   trap 'cleanup 1' 1 2 3 7 13 15
+   needsCleanup=true
+-  mkdir "$tmpdir" || abort "could not create directory \`$tmpdir'"
+ }
+ 
+ 
###############################################################################
+@@ -1296,7 +1295,8 @@
+   dvipsoutputdir=; pdftexoutputdir=; dvipdfmoutputdir=
+   : ${TEXMFMAIN=`kpsewhich -var-value=TEXMFMAIN`}
+ 
+-  tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$
++  tmpdir=`mktemp -d ${TMP-/tmp}/$progname.XXXXXX` || \
++       abort "could not create directory"
+   tmp1=$tmpdir/a
+   tmp2=$tmpdir/b
+   tmp3=$tmpdir/c
+--- TeX/texk/dviljk/dvihp.badscript    2006-05-24 16:43:13.000000000 -0700
++++ TeX/texk/dviljk/dvihp      2006-05-24 16:47:10.000000000 -0700
+@@ -7,9 +7,7 @@
+ : ${SPOOL=lpr}          # used to print an LJ file
+ : ${TMPDIR=${TEMP-${TMP-/tmp}}} # for the dvicopy output
+ 
+-tmpdir="${TMPDIR}"/dvihp$$
+-(umask 077; mkdir "$tmpdir") \
+-  || { echo "cannot create directory \`$tmpdir'."; exit 1; }
++tmpdir=`mktemp -d ${TMPDIR}/dvihp.XXXXXX` || { echo "cannot create secure 
temporary directory."; exit 1; }
+ 
+ trap '
+   cd "${TMPDIR}"
+--- TeX/texk/dvipdfm/dvipdft.badscript 2006-05-24 16:48:16.000000000 -0700
++++ TeX/texk/dvipdfm/dvipdft   2006-05-24 16:51:53.000000000 -0700
+@@ -31,7 +31,7 @@
+        $progname --help
+        $progname --version"
+ 
+-tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$
++tmpdir=`mktemp -d ${TMP-/tmp}/$progname.XXXXXX`
+ 
+ quoteit()
+ {

================================================================
Index: SOURCES/texlive-2007-browser.patch
diff -u /dev/null SOURCES/texlive-2007-browser.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-2007-browser.patch  Sat Jun  7 20:26:37 2008
@@ -0,0 +1,39 @@
+--- tetex-src-3.0/texk/xdvik/browser.c.browser 2004-11-12 10:25:26.000000000 
+0900
++++ tetex-src-3.0/texk/xdvik/browser.c 2005-02-07 15:22:31.849488410 +0900
+@@ -39,7 +39,10 @@
+ #include "statusline.h"
+ 
+ static const char *const default_browser_cmd =
+-      "netscape -raise -remote \"openURL(%s,new-window)\""
++      "xdg-open %s"
++      ":firefox -remote \"openURL(%s,new-window)\""
++      ":mozilla -remote \"openURL(%s,new-window)\""
++      ":xterm -e w3m %s"
+       ":xterm -e lynx %s"
+       ":xterm -e wget %s";
+ 
+--- tetex-src-3.0/texk/xdvik/gui/xm_prefsP.h.browser   2004-04-22 
06:12:09.000000000 +0900
++++ tetex-src-3.0/texk/xdvik/gui/xm_prefsP.h   2005-02-07 15:22:31.850488229 
+0900
+@@ -96,8 +96,10 @@
+ #define Xdvi_APPLY_STR                                "Apply"
+ 
+ #define Xdvi_PREFS_BROWSER_DEFAULTS \
++      "xdg-open %s\n" \
++      "firefox -remote 'openURL(%s,new-window)'\n" \
+       "mozilla -remote 'openURL(%s,new-window)'\n" \
+-      "netscape -raise -remote 'openURL(%s,new-window)'\n" \
++      "xterm -e w3m %s\n" \
+       "xterm -e lynx %s\n" \
+       Xdvi_ADD_COMMAND_STR
+ #define Xdvi_PREFS_EDITOR_DEFAULTS \
+--- tetex-src-3.0/texk/xdvik/xdvi.1.in.browser 2005-01-21 01:51:45.000000000 
+0900
++++ tetex-src-3.0/texk/xdvik/xdvi.1.in 2005-02-07 15:22:31.854487501 +0900
+@@ -365,7 +365,7 @@
+ .B WWWBROWSER
+ (in that order) are used to determine the browser command. If these are
+ not set either, the following default value is used:
+-.SB netscape -raise -remote "openURL(%s,new-window)":xterm -e lynx %s:xterm 
-e wget %s
++.SB xdg-open %s:firefox -remote -remote "openURL(%s,new-window)":mozilla 
-remote "openURL(%s,new-window)":xterm -e w3m %s:xterm -e lynx %s:xterm -e wget 
%s
+ .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+ .TP
+ .BI \-bw " width"

================================================================
Index: SOURCES/texlive-2007-copyright-utf8-man.patch
diff -u /dev/null SOURCES/texlive-2007-copyright-utf8-man.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-2007-copyright-utf8-man.patch       Sat Jun  7 20:26:37 2008
@@ -0,0 +1,24 @@
+diff -ur tetex-src-3.0/texk/tetex/texlinks.man 
tetex-src-3.0-copyright-utf8-man/texk/tetex/texlinks.man
+--- tetex-src-3.0/texk/tetex/texlinks.man      2005-01-20 08:58:46.000000000 
-0800
++++ tetex-src-3.0-copyright-utf8-man/texk/tetex/texlinks.man   2006-05-12 
01:35:35.000000000 -0700
+@@ -54,7 +54,7 @@
+ .SH "AUTHOR" 
+ .PP 
+ \fBtexlinks\fP was written by Thomas Esser 
+-<[EMAIL PROTECTED]&.uni-hannover\&.de> and is Copyright � 1999\&.
++<[EMAIL PROTECTED]&.uni-hannover\&.de> and is Copyright © 1999\&.
+ \fBtexlinks\fP has been released into the public domain\&.
+ .PP 
+ This manual page was written by C\&.M\&. Connelly
+diff -ur tetex-src-3.0/texk/tetex/thumbpdf.man 
tetex-src-3.0-copyright-utf8-man/texk/tetex/thumbpdf.man
+--- tetex-src-3.0/texk/tetex/thumbpdf.man      2005-01-20 08:50:12.000000000 
-0800
++++ tetex-src-3.0-copyright-utf8-man/texk/tetex/thumbpdf.man   2006-05-12 
01:35:58.000000000 -0700
+@@ -83,7 +83,7 @@
+ .PP 
+ .SH "COPYRIGHT" 
+ .PP 
+-Copyright � 1999\&.  \fBthumbpdf\fP is distributed under
++Copyright © 1999\&.  \fBthumbpdf\fP is distributed under
+ version 1, or (at your option) a later version of the LaTeX Project
+ Public License\&.
+ .PP 

================================================================
Index: SOURCES/texlive-2007-epstopdf-shellbang.patch
diff -u /dev/null SOURCES/texlive-2007-epstopdf-shellbang.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-2007-epstopdf-shellbang.patch       Sat Jun  7 20:26:37 2008
@@ -0,0 +1,9 @@
+--- TeX/texk/tetex/epstopdf.perl       2006-05-24 18:09:36.000000000 -0700
++++ TeX/texk/tetex/epstopdf    2006-05-24 18:11:06.000000000 -0700
+@@ -1,5 +1,4 @@
+-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S 
$0 $argv:q'
+-  if 0;
++#!/usr/bin/env perl
+ use strict;
+ 
+ # Change by Thomas Esser, Sept. 1998: The above lines allows us to find

================================================================
Index: SOURCES/texlive-2007-fmtutil-ptex.patch
diff -u /dev/null SOURCES/texlive-2007-fmtutil-ptex.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-2007-fmtutil-ptex.patch     Sat Jun  7 20:26:37 2008
@@ -0,0 +1,12 @@
+diff -up texlive-2007/texk/tetex/fmtutil.ptex texlive-2007/texk/tetex/fmtutil
+--- texlive-2007/texk/tetex/fmtutil.ptex       2008-01-01 22:32:44.000000000 
+0100
++++ texlive-2007/texk/tetex/fmtutil    2008-01-01 22:33:10.000000000 +0100
+@@ -674,6 +674,8 @@ run_initex()
+   case "$format" in
+     metafun) prgswitch=-progname=mpost;;
+     mptopdf|cont-??) prgswitch=-progname=context;;
++    platex*) prgswitch=-progname=platex;;
++    ptex*) prgswitch=-progname=ptex;;
+     *)       prgswitch=-progname=$format;;
+   esac
+ 

================================================================
Index: SOURCES/texlive-2007-jp-platex209.patch
diff -u /dev/null SOURCES/texlive-2007-jp-platex209.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-2007-jp-platex209.patch     Sat Jun  7 20:26:38 2008
@@ -0,0 +1,82 @@
+diff -up ptex-src-3.1.10/Makefile.in.fmts ptex-src-3.1.10/Makefile.in
+--- ptex-src-3.1.10/Makefile.in.fmts   2006-06-05 03:50:47.000000000 +0200
++++ ptex-src-3.1.10/Makefile.in        2008-01-01 23:28:57.000000000 +0100
+@@ -3,11 +3,9 @@ version = @WEB2CVERSION@
+ configopt = @configopt@
+ configkcode = @configkcode@
+ 
+-default: programs formats
++default: programs texmf.cnf
+ 
+ programs=ptex tftopl pltotf pdvitype jbibtex
+-euc-formats=ptex-euc.fmt platex-euc.fmt
+-sjis-formats=ptex-sjis.fmt platex-sjis.fmt
+ 
+ ac_include ../../make/paths.mk
+ 
+@@ -162,30 +160,12 @@ $(kpathsea):
+ 
+ # 
+ # Making formats and bases.
+-formats=$(euc-formats) $(sjis-formats)
+-formats: $(formats)
+ 
+ texmf.cnf: $(kpathsea_dir)/texmf.cnf
+       $(SHELL) $(thisdir)/mkconf $(kpathsea_dir)/texmf.cnf > texmf.cnf
+ 
+ dumpenv = TEXMFCNF=$(thisdir)
+ 
+-ptex-euc.fmt: ptex texmf.cnf
+-      $(dumpenv) $(MAKE) progname=ptex files="ptex.tex min10.tfm" prereq-check
+-      $(dumpenv) ./ptex --ini --kanji=euc --progname=ptex --jobname=ptex-euc 
\\input ptex.tex \\dump </dev/null
+-
+-ptex-sjis.fmt: ptex texmf.cnf
+-      $(dumpenv) $(MAKE) progname=ptex files="ptex.tex min10.tfm" prereq-check
+-      $(dumpenv) ./ptex --ini --kanji=sjis --progname=ptex 
--jobname=ptex-sjis \\input ptex.tex \\dump </dev/null
+-
+-platex-euc.fmt: ptex texmf.cnf
+-      $(dumpenv) $(MAKE) progname=platex files="platex.ltx" prereq-check
+-      $(dumpenv) ./ptex --ini --kanji=euc --progname=platex 
--jobname=platex-euc \\input platex.ltx </dev/null
+-
+-platex-sjis.fmt: ptex texmf.cnf
+-      $(dumpenv) $(MAKE) progname=platex files="platex.ltx" prereq-check
+-      $(dumpenv) ./ptex --ini --kanji=sjis --progname=platex 
--jobname=platex-sjis \\input platex.ltx </dev/null
+-
+ # This is meant to be called recursively, with $(files) set.
+ prereq-check: $(kpathsea_dir)/kpsewhich
+       $(dumpenv) $(kpathsea_dir)/kpsewhich --progname=$(progname) $(files) 
>/dev/null || $(MAKE) prereq-lose >/dev/null
+@@ -209,7 +189,6 @@ $(kpathsea_dir)/kpsewhich: $(kpathsea)
+ install: install-exec install-data
+       $(top_srcdir)/kpathsea/mktexlsr
+ install-exec:: install-links
+-install-data:: install-formats
+ 
+ # Installation directories.
+ $(bindir)::
+@@ -223,17 +202,7 @@ install-programs: $(programs) $(bindir)
+ 
+ # The links to ptex for each format.
+ install-links: install-programs $(bindir)
+-      cd $(bindir) && (rm -f iniptex virptex platex; $(LN) ptex platex)
+-
+-# Always do plain.*, so examples from the TeXbook (etc.) will work.
+-install-formats: $(formats) $(web2cdir)
+-      for f in $(formats); do $(INSTALL_DATA) $$f $(web2cdir)/$$f; done
+-      cd $(web2cdir) && (rm -f ptex-jis.fmt platex-jis.fmt ;\
+-              $(LN) ptex-euc.fmt ptex-jis.fmt ;\
+-              $(LN) platex-euc.fmt platex-jis.fmt)
+-      cd $(web2cdir) && (rm -f ptex.fmt platex.fmt ;\
+-              $(LN) ptex-$(configkcode).fmt ptex.fmt ;\
+-              $(LN) platex-$(configkcode).fmt platex.fmt )
++      cd $(bindir) && (rm -f iniptex virptex platex platex209; $(LN) ptex 
platex ; $(LN) ptex platex209)
+ 
+ # Auxiliary files.
+ install-data::
+@@ -323,6 +292,7 @@ distclean:: clean
+       rm -fr failure
+       rm -f ptex.web ptex.ch ptex.p ptex.pool ptex.log ptex-euc.fmt 
ptex-sjis.fmt
+       rm -f platex.log platex-euc.fmt platex-sjis.fmt texsys.aux platex
++      rm -f platex209.log platex209-euc.fmt platex209-sjis.fmt platex209
+       rm -f tftopl.web tftopl.p
+       rm -f pltotf.web pltotf.p
+       rm -f pdvitype.web pdvitype.p

================================================================
Index: SOURCES/texlive-2007-kpse-extensions.patch
diff -u /dev/null SOURCES/texlive-2007-kpse-extensions.patch:1.1
--- /dev/null   Sat Jun  7 20:26:44 2008
+++ SOURCES/texlive-2007-kpse-extensions.patch  Sat Jun  7 20:26:38 2008
@@ -0,0 +1,291 @@
+--- texk/kpathsea/tex-file.c.kpse-extensions   2006-05-27 21:43:07.000000000 
-0700
++++ texk/kpathsea/tex-file.c   2006-05-27 21:40:06.000000000 -0700
+@@ -413,14 +413,16 @@
+          times with token pasting, but it doesn't seem worth it.  */
+     case kpse_gf_format:
+       INIT_FORMAT ("gf", DEFAULT_GFFONTS, GF_ENVS);
+-      SUFFIXES ("gf");
++#define GF_SUFFIXES "gf", "GF"
++      SUFFIXES (GF_SUFFIXES);
+       FMT_INFO.suffix_search_only = true;
+       FMT_INFO.binmode = true;
+       break;
+     case kpse_pk_format:
+       init_maketex (format, "mktexpk", MKTEXPK_ARGS);
+       INIT_FORMAT ("pk", DEFAULT_PKFONTS, PK_ENVS);
+-      SUFFIXES ("pk");
++#define PK_SUFFIXES "pk", "PK"
++      SUFFIXES (PK_SUFFIXES);
+       FMT_INFO.suffix_search_only = true;
+       FMT_INFO.binmode = true;
+       break;
+@@ -434,77 +436,92 @@
+       /* Must come before kpse_ofm_format. */
+       init_maketex (format, "mktextfm", NULL);
+       INIT_FORMAT ("tfm", DEFAULT_TFMFONTS, TFM_ENVS);
+-      SUFFIXES (".tfm");
++#define TFM_SUFFIXES ".tfm", ".TFM"
++      SUFFIXES (TFM_SUFFIXES);
+       FMT_INFO.suffix_search_only = true;
+       FMT_INFO.binmode = true;
+       break;
+     case kpse_afm_format:
+       INIT_FORMAT ("afm", DEFAULT_AFMFONTS, AFM_ENVS);
+-      SUFFIXES (".afm");
++#define AFM_SUFFIXES ".afm", ".AFM"
++      SUFFIXES (AFM_SUFFIXES);
+       break;
+     case kpse_base_format:
+       init_maketex (format, "mktexfmt", NULL);
+       INIT_FORMAT ("base", DEFAULT_MFBASES, BASE_ENVS);
+-      SUFFIXES (".base");
++#define BASE_SUFFIXES ".base", ".BASE"
++      SUFFIXES (BASE_SUFFIXES);
+       FMT_INFO.binmode = true;
+       break;
+     case kpse_bib_format:
+       INIT_FORMAT ("bib", DEFAULT_BIBINPUTS, BIB_ENVS);
+-      SUFFIXES (".bib");
++#define BIB_SUFFIXES ".bib", ".BIB"
++      SUFFIXES (BIB_SUFFIXES);
+       FMT_INFO.suffix_search_only = true;
+       break;
+     case kpse_bst_format:
+       INIT_FORMAT ("bst", DEFAULT_BSTINPUTS, BST_ENVS);
+-      SUFFIXES (".bst");
++#define BST_SUFFIXES ".bst", ".BST"
++      SUFFIXES (BST_SUFFIXES);
+       break;
+     case kpse_cnf_format:
+       INIT_FORMAT ("cnf", DEFAULT_TEXMFCNF, CNF_ENVS);
+-      SUFFIXES (".cnf");
++#define CNF_SUFFIXES ".cnf", ".CNF"
++      SUFFIXES (CNF_SUFFIXES);
+       break;
+     case kpse_db_format:
+       INIT_FORMAT ("ls-R", DEFAULT_TEXMFDBS, DB_ENVS);
+-#define LSR_SUFFIXES "ls-R", "ls-r"
++#define LSR_SUFFIXES "ls-R", "ls-r", "LS-R"
+       SUFFIXES (LSR_SUFFIXES);
+       FMT_INFO.path = remove_dbonly (FMT_INFO.path);
+       break;
+     case kpse_fmt_format:
+       init_maketex (format, "mktexfmt", NULL);
+       INIT_FORMAT ("fmt", DEFAULT_TEXFORMATS, FMT_ENVS);
+-      SUFFIXES (".fmt");
+-#define FMT_SUFFIXES 
".efmt",".efm",".ofmt",".ofm",".oft",".eofmt",".eoft",".eof",".pfmt",".pfm",".epfmt",".epf",".xpfmt",".xpf",".afmt",".afm"
+-      ALT_SUFFIXES (FMT_SUFFIXES);
++#define FMT_SUFFIXES ".fmt", ".FMT"
++      SUFFIXES (FMT_SUFFIXES);
++#define FMT_ALT_SUFFIXES 
".efmt",".efm",".ofmt",".ofm",".oft",".eofmt",".eoft",".eof",".pfmt",".pfm",".epfmt",".epf",".xpfmt",".xpf",".afmt",".afm"
 \
++                       
".EFMT",".EFM",".OFMT",".OFM",".OFT",".EOFMT",".EOFT",".EOF",".PFMT",".PFM",".EPFMT",".EPF",".XPFMT",".XPF",".AFMT",".AFM"
++      ALT_SUFFIXES (FMT_ALT_SUFFIXES);
+       FMT_INFO.binmode = true;
+       break;
+     case kpse_fontmap_format:
+       INIT_FORMAT ("map", DEFAULT_TEXFONTMAPS, FONTMAP_ENVS);
+-      SUFFIXES (".map");
++#define MAP_SUFFIXES ".map", ".MAP"
++      SUFFIXES (MAP_SUFFIXES);
+       break;
+     case kpse_mem_format:
+       init_maketex (format, "mktexfmt", NULL);
+       INIT_FORMAT ("mem", DEFAULT_MPMEMS, MEM_ENVS);
+-      SUFFIXES (".mem");
++#define MEM_SUFFIXES ".mem", ".MEM"
++      SUFFIXES (MEM_SUFFIXES);
+       FMT_INFO.binmode = true;
+       break;
+     case kpse_mf_format:
+       init_maketex (format, "mktexmf", NULL);
+       INIT_FORMAT ("mf", DEFAULT_MFINPUTS, MF_ENVS);
+-      SUFFIXES (".mf");
++#define MF_SUFFIXES ".mf", ".MF"
++      SUFFIXES (MF_SUFFIXES);
+       break;
+     case kpse_mft_format:
+       INIT_FORMAT ("mft", DEFAULT_MFTINPUTS, MFT_ENVS);
+-      SUFFIXES (".mft");
++#define MFT_SUFFIXES ".mft", ".MFT"
++      SUFFIXES (MFT_SUFFIXES);
+       break;
<<Diff was trimmed, longer than 597 lines>>
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to