[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fixing LaTeX in oldstable



Dear release managers,

I am right now uploading an again-installable tetex-bin to
oldstable-proposed-updates (I hope that's correct?), and texlive-bin
will follow soon. Both uploads have been built in etch pbuilder chroots,
and have been tested to fix the problem.

The changes are small, essentially only one patch file is added, and
except for the changelog one file in debian/ is changed, namely the
quilt series file (for tetex-bin) or the dpatch 00list file.  The
patch is attached.


Do we need to do anything else (besides fixing stable and sid, but that
isn't urgent since the bug won't show up soon)?

Regards, Frank


-- 
Dr. Frank Küster
Debian Developer (TeXLive)
VCD Aschaffenburg-Miltenberg, ADFC Miltenberg
B90/Grüne KV Miltenberg

---
 texk/tetex/fmtutil |   50 ++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 48 insertions(+), 2 deletions(-)

Index: tetex-bin-3.0/texk/tetex/fmtutil
===================================================================
--- tetex-bin-3.0.orig/texk/tetex/fmtutil	2009-06-11 22:20:07.000000000 +0200
+++ tetex-bin-3.0/texk/tetex/fmtutil	2009-06-11 22:20:14.000000000 +0200
@@ -299,6 +299,23 @@
 ###############################################################################
 byebye()
 {
+  if $has_warnings; then
+    {
+      cat <<eof
+
+###############################################################################
+$progname: Warning! Some warnings have been issued.
+Visit the log files in directory
+  $destdir
+for details.
+###############################################################################
+
+This is a summary of all \`warning' messages:
+$log_warning_msg
+eof
+    } >&2
+  fi
+
   if $has_errors; then
     {
       cat <<eof
@@ -310,7 +327,7 @@
 for details.
 ###############################################################################
 
-This is a summary of all \`failed' messages and warnings:
+This is a summary of all \`failed' messages:
 $log_failure_msg
 eof
     } >&2
@@ -323,6 +340,16 @@
 }
 
 ###############################################################################
+# init_log_warning()
+#   reset the list of warning messages
+###############################################################################
+init_log_warning()
+{
+  log_warning_msg=
+  has_warnings=false
+}
+
+###############################################################################
 # init_log_failure()
 #   reset the list of failure messages
 ###############################################################################
@@ -333,6 +360,24 @@
 }
 
 ###############################################################################
+# log_warning(errmsg)
+#   report and save warning message `errmsg'
+###############################################################################
+log_warning()
+{
+  echo "Warning: $@" >&2
+  if test -z "$log_warning_msg"; then
+    log_warning_msg="$@"
+  else
+    OLDIFS=$IFS; IFS=
+    log_warning_msg="$log_warning_msg
+$@"
+    IFS=$OLDIFS
+  fi
+  has_warnings=true
+}
+
+###############################################################################
 # log_failure(errmsg)
 #   report and save failure message `errmsg'
 ###############################################################################
@@ -588,6 +633,7 @@
 
   cache_vars
   init_log_failure
+  init_log_warning
   # execute the desired command:
   case "$cmd" in 
     all)
@@ -751,7 +797,7 @@
 
   if test -f $fmtfile; then
     grep '^! ' $format.log >/dev/null 2>&1 &&
-      log_failure "\`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' possibly failed."
+      log_warning "\`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' possibly failed."
   else
     log_failure "\`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' failed"
   fi

Reply to: