[texlive-texmf] allow to make LaTeX format from source more than 5 years old

Jindrich Novy jnovy at fedoraproject.org
Tue Jul 26 13:50:25 UTC 2011


commit 24eeddc8abf84fafd52b82768b0bcf5d1c4d4e51
Author: Jindrich Novy <jnovy at redhat.com>
Date:   Tue Jul 26 15:50:06 2011 +0200

    allow to make LaTeX format from source more than 5 years old

 texlive-2007-5yr-old.patch |   31 +++++++++++++++++++++++++++++++
 texlive-texmf.spec         |    9 ++++++++-
 2 files changed, 39 insertions(+), 1 deletions(-)
---
diff --git a/texlive-2007-5yr-old.patch b/texlive-2007-5yr-old.patch
new file mode 100644
index 0000000..cf786cc
--- /dev/null
+++ b/texlive-2007-5yr-old.patch
@@ -0,0 +1,31 @@
+diff -up texlive-texmf-2007/texmf-dist/tex/latex/base/latex.ltx.5yr-old texlive-texmf-2007/texmf-dist/tex/latex/base/latex.ltx
+--- texlive-texmf-2007/texmf-dist/tex/latex/base/latex.ltx.5yr-old	2006-08-27 20:16:22.000000000 +0200
++++ texlive-texmf-2007/texmf-dist/tex/latex/base/latex.ltx	2011-07-26 14:26:17.928040793 +0200
+@@ -532,17 +532,17 @@
+ \expandafter\reserved at 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\reserved at a\relax
+ \fi
diff --git a/texlive-texmf.spec b/texlive-texmf.spec
index 561d1ff..0e01290 100644
--- a/texlive-texmf.spec
+++ b/texlive-texmf.spec
@@ -14,7 +14,7 @@
 
 Name:		texlive-texmf
 Version:	2007
-Release:	37%{?dist}
+Release:	38%{?dist}
 Summary:	Architecture independent parts of the TeX formatting system
 
 Group:		Applications/Publishing
@@ -67,6 +67,7 @@ Patch4:		texlive-2007-romanian.patch
 Patch5:		texlive-2007-euro.patch
 Patch6:		texlive-2007-beamerblocks.patch
 Patch7:		texlive-2007-latin.patch
+Patch8:		texlive-2007-5yr-old.patch
 
 # Patch1000-: Japanese pTeX
 Patch1001: texlive-2007-texmf.cnf-ptex.patch
@@ -205,6 +206,7 @@ install -p -m644 %{SOURCE50} texmf-var/dvips/config/config.generic
 %patch5  -p0
 %patch6  -p0
 %patch7  -p1
+%patch8  -p1
 
 cp -p %{SOURCE91} .
 
@@ -904,6 +906,11 @@ fi
 %doc %{_texmf_main}/doc/
 
 %changelog
+* Tue Jul 26 2011 Jindrich Novy <jnovy at redhat.com> 2007-38
+- allow to make LaTeX format from source more than 5 years old
+  (it gives a warning instead of an error)
+  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531569#56
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2007-37
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list