Bug#531569: (no subject)

2009-06-04 Thread Anthony BERGER
please , apply the patch.
you can not let it in this state...
etch must be upgraded
-- 
Anthony BERGER
Administrateur Système
Infogérance CEA Cadarache
Tel : 04 42 25 78 46
Mail : anthony.ber...@cea.fr



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#531569: (no subject)

2009-06-03 Thread Jussi Hakala

Frank Küster wrote:

Yes, and thanks for the patch - however, it might be easier to
convince the authors of fmtutil and add a check whether an error was
the 5 year old warning, than to convice the LaTeX team. Or at least
faster.


That works too.

However, it would be much easier to distinguish warnings and errors if 
they actually would have some unique identifier.


As it is now fmtutil will search lines that start with '! ' (applies to 
warnings and errors) and will return exit code different than 0, 
claiming that there is a potential error in the format files.


I'd reckon the easiest way to change this would be to patch tex macros 
to output unique formatted warnings and patch fmtutil to react accordingly.


Regards,

  Jussi



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#531569: (no subject)

2009-06-03 Thread Jussi Hakala

Here is the same patch with correct file names.

Just copy it in the debian/patches directory and include it in the 
series file.


Regards,

  Jussi
diff -Nur tetex-base-3.0.dfsg.3.orig/tex/latex/base/latex.ltx 
tetex-base-3.0.dfsg.3/tex/latex/base/latex.ltx
--- tetex-base-3.0.dfsg.3.orig/tex/latex/base/latex.ltx 2004-03-14 
04:19:52.0 +0200
+++ tetex-base-3.0.dfsg.3/tex/latex/base/latex.ltx  2009-06-03 
12:56:44.0 +0300
@@ -527,17 +527,17 @@
 \expandafter\reser...@a\fmtversion\@nil
 \ifnum\count@65
   \typeout{^^J%
-!!^^J%
-!  You are attempting to make a LaTeX format from a source file^^J%
-!  That is more than five years old.^^J%
-!^^J%
-!  If you enter return to scroll past this message then the format^^J%
-!  will be built, but please consider obtaining newer source files^^J%
-!  before continuing to build LaTeX.^^J%
-!!^^J%
++=^^J%
+|  You are attempting to make a LaTeX format from a source file^^J%
+|  That is more than five years old.^^J%
+|^^J%
+|  If you enter return to scroll past this message then the format^^J%
+|  will be built, but please consider obtaining newer source files^^J%
+|  before continuing to build LaTeX.^^J%
++=^^J%
 }
-   \errhelp{To avoid this error message, obtain new LaTeX sources.}
-   \errmessage{LaTeX source files more than 5 years old!}
+   \typeout{To avoid this error message, obtain new LaTeX sources.}
+   \typeout{LaTeX source files more than 5 years old!}
 \fi
 \let\reser...@a\relax
 \fi


Bug#531569: (no subject)

2009-06-02 Thread Jussi Hakala
The error message about the source files being too old is just a 
warning, everything will be generated as they should be.


Unfortunately fmtutil does not see it that way, the warning format in 
the logs is identical to error messages and fmtutil interprets that as a 
possible error and will act accordingly [1].


The solution is to change the latex.ltx file so that either the warning 
is displayed using different format, or the time the files are 
considered old is changed (however, making it double makes you have the 
same problem after next five years).


For me, something like [2] seems to solve the problem.

Regards,

  Jussi

[1]
  if test -f $fmtfile; then
grep '^! ' $format.log /dev/null 21 
  log_failure \`$engine -ini $tcxflag $jobswitch $prgswitch 
$texargs' possibly failed.

  else
log_failure \`$engine -ini $tcxflag $jobswitch $prgswitch 
$texargs' failed

  fi

[2]
http://scratchbox.org/cgi-bin/darcsweb.cgi?r=1.0/sb-doctools-devkit;a=annotate_plain;f=doctools/tetex/files/reformat-warning-old-sources.patch;h=20090602131054-902ad-469817845078f6e9328c4ed91cd7262e2df7e7be.gz



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#531569: (no subject)

2009-06-02 Thread Frank Küster
Jussi Hakala jussi.hak...@hut.fi wrote:

 For me, something like [2] seems to solve the problem.

Yes, and thanks for the patch - however, it might be easier to convince
the authors of fmtutil and add a check whether an error was the 5 year
old warning, than to convice the LaTeX team. Or at least faster.

Anyway, there's no value in updating the LaTeX component of an otherwise
frozen, but supported oldstable.  We should definitely solve this
without backporting newer LaTeX to etch.

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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org