Author: frank
Date: 2006-10-06 06:05:51 +0000 (Fri, 06 Oct 2006)
New Revision: 1675

Added:
   tex-common/trunk/scripts/01tetex.cnf
   tex-common/trunk/scripts/01tetex.cnf.md5sum
   tex-common/trunk/scripts/tetex-bin-upgrade
Log:
add files to let texlive handle tetex-bin's old conffiles


Added: tex-common/trunk/scripts/01tetex.cnf
===================================================================
--- tex-common/trunk/scripts/01tetex.cnf                                (rev 0)
+++ tex-common/trunk/scripts/01tetex.cnf        2006-10-06 06:05:51 UTC (rev 
1675)
@@ -0,0 +1,82 @@
+#
+# /etc/texmf/fmt.d/01tetex.cnf
+#
+# You really can change stuff in this file, but it is NOT RECOMMENDED
+# to play around with this file if you do not know what you are doing!
+# Please leave this comment!
+# -_- DebPkgProvidedMaps -_-"
+#
+
+# metafont and metapost:
+mf             mf              -               -translate-file=cp227.tcx mf.ini
+mpost          mpost           -               -translate-file=cp227.tcx 
mpost.mp
+metafun                mpost           -               
-translate-file=cp227.tcx metafun.mp
+
+# Standard formats (plain, latex) with all engines:
+
+# Change "tex.ini -> bplain.ini" and "- -> language.dat"
+# if you want babel support in tex:
+tex            tex             -               -translate-file=cp227.tcx 
tex.ini
+latex          pdfetex         language.dat    -translate-file=cp227.tcx 
*latex.ini
+etex           pdfetex         language.def    -translate-file=cp227.tcx 
*etex.ini
+pdftex         pdfetex         -       -translate-file=cp227.tcx *pdftex.ini
+pdflatex       pdfetex         language.dat    -translate-file=cp227.tcx 
*pdflatex.ini
+pdfetex                pdfetex         language.def    
-translate-file=cp227.tcx *pdfetex.ini
+#! pdfxlatex   pdfxtex         language.dat    -translate-file=cp227.tcx 
*pdfxlatex.ini
+#! pdfxtex             pdfxtex         -               
-translate-file=cp227.tcx *pdfxtex.ini
+omega          omega           -       omega.ini
+lambda         omega           language.dat    lambda.ini
+aleph          aleph           -               *aleph.ini
+lamed          aleph           language.dat    *lambda.ini
+
+# The amstex format:
+
+# Change "amstex.ini -> bamstex.ini" and "- -> language.dat"
+# if you want babel support in amstex:
+amstex pdfetex         -               -translate-file=cp227.tcx *amstex.ini
+
+# Change "pdfamstex.ini -> pdfbamstex.ini" and "- -> language.dat"
+# if you want babel support in pdfamstex:
+#! pdfamstex   pdfetex                 -       -translate-file=cp227.tcx 
*pdfamstex.ini
+
+# Context formats:
+#! cont-cz     pdfetex         cont-usr.tex    -translate-file=cp227.tcx 
*cont-cz.ini
+#! cont-de     pdfetex         cont-usr.tex    -translate-file=cp227.tcx 
*cont-de.ini
+cont-en        pdfetex         cont-usr.tex    -translate-file=cp227.tcx 
*cont-en.ini
+#! cont-nl     pdfetex         cont-usr.tex    -translate-file=cp227.tcx 
*cont-nl.ini
+#! cont-uk     pdfetex         cont-usr.tex    -translate-file=cp227.tcx 
*cont-uk.ini
+
+# language-specific things:
+
+# - Cyrillic:
+#! cyrtex      pdfetex         language.dat    -translate-file=cp227.tcx 
*cyrtex.ini
+#! cyrtexinfo  pdfetex         language.dat    -translate-file=cp227.tcx 
*cyrtxinf.ini
+#! cyramstex   pdfetex         language.dat    -translate-file=cp227.tcx 
*cyramstx.ini
+
+# - Polish:
+#! platex              pdfetex         language.dat    
-translate-file=cp227.tcx *platex.ini
+#! pdfplatex           pdfetex         language.dat    
-translate-file=cp227.tcx *pdfplatex.ini
+#! mex         pdfetex         mexconf.tex     -translate-file=cp227.tcx 
*mex.ini
+#! pdfmex              pdfetex         mexconf.tex     
-translate-file=cp227.tcx *pdfmex.ini
+#! utf8mex             pdfetex         mexconf.tex     -enc *utf8mex.ini
+
+# - Polish with translated messages (experimental):
+#! platex-pl   pdfetex         -               nls=pdfetex-pl,il2-pl 
*platex.ini
+#! mex-pl              pdfetex         mexconf.tex     nls=pdfetex-pl,il2-pl 
*mex.ini
+#! pdfmex-pl   pdfetex         mexconf.tex     nls=pdfetex-pl,il2-pl 
*pdfmex.ini
+
+# - Czech / Slovak:
+#! csplain     pdfetex         -               -translate-file=cp227.tcx 
*csplain.ini
+#! cslatex     pdfetex         -       -translate-file=cp227.tcx *cslatex.ini
+#! pdfcsplain  pdfetex         -               -translate-file=cp227.tcx 
*csplain.ini
+#! pdfcslatex  pdfetex         -    -translate-file=cp227.tcx *cslatex.ini
+
+# Other formats:
+
+# Change "eplain.ini -> ebplain.ini" and "- -> language.dat"
+# if you want babel support in eplain:
+#! eplain      pdfetex         -       -translate-file=cp227.tcx *eplain.ini
+
+
+# mptopdf utility
+mptopdf                pdfetex         -               
-translate-file=cp227.tcx mptopdf.tex

Copied: tex-common/trunk/scripts/01tetex.cnf.md5sum (from rev 1674, 
tetex-bin/trunk/debian/md5sums/01tetex.cnf.md5sum)
===================================================================
--- tex-common/trunk/scripts/01tetex.cnf.md5sum                         (rev 0)
+++ tex-common/trunk/scripts/01tetex.cnf.md5sum 2006-10-06 06:05:51 UTC (rev 
1675)
@@ -0,0 +1,3 @@
+55811af3562faf342261dbc3b5e060a2 00tetex.cnf in 2.0.2
+757459dda86e1bd31e68dacbba9b422d 01tetex.cnf in 3.0
+

Added: tex-common/trunk/scripts/tetex-bin-upgrade
===================================================================
--- tex-common/trunk/scripts/tetex-bin-upgrade                          (rev 0)
+++ tex-common/trunk/scripts/tetex-bin-upgrade  2006-10-06 06:05:51 UTC (rev 
1675)
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+fmtdir=/etc/texmf/fmt.d/
+ucf_sourcedir=/usr/share/tex-common/
+#UCF="ucf --verbose -d --debconf-ok"
+UCF="ucf --debconf-ok"
+
+# oldfile=00tetex.cnf
+# newfile=01tetex.cnf
+
+called_from="$1"
+
+case $called_from in
+  preinst)
+    # rename 00tetex.cnf to 01tetex.cnf
+    if [ -f $fmtdir/00tetex.cnf ]; then 
+      if [ ! -f $fmtdir/01tetex.cnf ]; then
+       # not yet transitioned
+       mv $fmtdir/00tetex.cnf $fmtdir/01tetex.cnf
+      else
+       # some older experimental version has installed the new file, but not 
+       # transitioned the old one.
+       # Note: also texlive might have done that, however,
+       # successfully only if texlive-omega was already unpacked
+       current_md5sum=`md5sum $fmtdir/00tetex.cnf | cut -d ' ' -f 1`
+       if [ "$current_md5sum" = "55811af3562faf342261dbc3b5e060a2" ]; then
+         rm $fmtdir/00tetex.cnf
+       else
+         # we do nothing; experimental users should be able to solve this
+         :
+       fi
+      fi
+    fi
+    ;;
+  postinst)
+    # upgrade from sarge:  fmtutil snippet renamed
+      $UCF $ucf_sourcedir/01tetex.cnf $fmtdir/01tetex.cnf
+    done
+    ;;
+esac


Property changes on: tex-common/trunk/scripts/tetex-bin-upgrade
___________________________________________________________________
Name: svn:executable
   + *


_______________________________________________
Pkg-tetex-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-tetex-commits

Reply via email to