[subversion-commit] SVN tetex-base commit + diffs: r1138 - tetex-base/trunk/debian

Julian Gilbey jdg at costa.debian.org
Wed Mar 29 14:16:51 UTC 2006


Author: jdg
Date: 2006-03-29 14:16:48 +0000 (Wed, 29 Mar 2006)
New Revision: 1138

Added:
   tetex-base/trunk/debian/compat
Modified:
   tetex-base/trunk/debian/changelog
   tetex-base/trunk/debian/common.functions.in
   tetex-base/trunk/debian/common.variables
   tetex-base/trunk/debian/rules
   tetex-base/trunk/debian/rules.in
   tetex-base/trunk/debian/variables
Log:
* Improve readability of eperl scripts in debian/ as in tetex-bin [jdg]

Modified: tetex-base/trunk/debian/changelog
===================================================================
--- tetex-base/trunk/debian/changelog	2006-03-29 12:04:45 UTC (rev 1137)
+++ tetex-base/trunk/debian/changelog	2006-03-29 14:16:48 UTC (rev 1138)
@@ -2,8 +2,9 @@
 
   * Add a PDF documentation file for pst-poly which is only present as
     LaTeX source [frank]
+  * Improve readability of eperl scripts in debian/ as in tetex-bin [jdg]
 
- -- Frank Küster <frank at debian.org>  Mon, 27 Mar 2006 18:36:26 +0200
+ -- Julian Gilbey <jdg at debian.org>  Wed, 29 Mar 2006 15:16:06 +0100
 
 tetex-base (3.0-17) unstable; urgency=low
 

Modified: tetex-base/trunk/debian/common.functions.in
===================================================================
--- tetex-base/trunk/debian/common.functions.in	2006-03-29 12:04:45 UTC (rev 1137)
+++ tetex-base/trunk/debian/common.functions.in	2006-03-29 14:16:48 UTC (rev 1138)
@@ -2,12 +2,11 @@
 #################################################################
 ## Function definitions - included from file common.functions
 #################################################################
-# Copyright (C) 2004 by Frank Küster <frank at debian.org>.
+# Copyright (C) 2004, 05, 06 by Frank Küster <frank at debian.org>.
+# Copyright (C) 2006 by Julian Gilbey <jdg at debian.org>.
 # $Id$
 
 # internal variables for common.functions
-: ${MKTMPDIR:=$TMPDIR} # mktemp will create its files there
-: ${MKTMPDIR:=<:=$MKTMPDIR:>}
 SYMLINK_MOVE_EXT=<:=$SYMLINK_MOVE_EXT:>
 TEXMFSYSVARDIR=<:=$TEXMFSYSVARDIR:>
 
@@ -38,7 +37,7 @@
 
 create_tetex_formats(){
   options="$@"
-  tempfile=`mktemp -p $MKTMPDIR tetex.postinst.XXXXXXXX`
+  tempfile=`mktemp -t tetex.postinst.XXXXXXXX`
   echo "Running fmtutil-sys. This may take some time. ..."
   # for jadetex safety (see #352391 and friends), remove old latex formats
   if [ "$options" = "--all" ];
@@ -58,7 +57,7 @@
 }
 
 create_fontmaps(){
-    tempfile=`mktemp -p $MKTMPDIR tetex.updmap.XXXXXXXX`
+    tempfile=`mktemp -t tetex.updmap.XXXXXXXX`
     echo -n "Running updmap-sys. This may take some time. ..."
     if updmap-sys 2> $tempfile; then
       rm -f $tempfile

Modified: tetex-base/trunk/debian/common.variables
===================================================================
--- tetex-base/trunk/debian/common.variables	2006-03-29 12:04:45 UTC (rev 1137)
+++ tetex-base/trunk/debian/common.variables	2006-03-29 14:16:48 UTC (rev 1138)
@@ -1,68 +1,76 @@
-<:# Copyright (C) 1999, 2000, 01, 02 by Davide Giovanni Maria Salvetti <salve at debian.org>.:>//
-<:# Copyright (C) 2004, 05 by Frank Küster <frank at debian.org>.:>//
-<:# $Id$:>//
-<:# this list is from dpkg-1.10.9/include/dpkg.h.in:  :>//
-<:$DPKG_EXTENSIONS="'~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist":>//
-<:$PREINST_MOVE_EXT="preinst-bak":>//
-<:$POSTINST_MOVE_EXT="postinst-bak":>//
-<:$PURGE_EXTENSIONS="$DPKG_EXTENSIONS $PREINST_MOVE_EXT $POSTINST_MOVE_EXT":>//
-<:# package specific:>//
-<:$ETC="/etc/":>//
-<:$etc="/etc/texmf/":>//
-<:$doc="/usr/share/doc/$PACKAGE/":>//
-<:$TEXMFSYSVARDIR="/var/lib/texmf":>//
-<:$MKTMPDIR="/tmp":>//
-<:$FONTMAP_MEMORY_DIR="/var/lib/tex-common/fontmap-cfg":>//
-<:$LANGUAGE_MEMORY_DIR="/var/lib/tex-common/language-cnf":>//
-<:$LANGUAGE_DIR="$etc/language.d":>//
-<:$LDAT_PATTERNS="inhyph.tex bahyph.tex cahyph.tex hrhyph.tex czhyph.tex \\
-    dehypht.tex dehyphn.tex dkhyphen.tex nehyph.tex fi8hyph.tex frhyph.tex \\
-    gahyph.tex grhyph.tex icehyph.tex ithyph.tex lahyph.tex huhyph.tex nohyph.tex \\
-    nohyphb.tex nohyphbc.tex plhyph.tex pt8hyph.tex rohyphen.tex ruhyphen.tex \\
-    sehyph.tex skhyph.tex sihyph23.tex sphyph.tex trhyph.tex ukrhyph.tex \\
-    ukrhyph.t2a ukrhyph.lcy ukrhyph.ot2":>//
-<:$TEXMF_CNF="/etc/texmf/texmf.cnf":>//
-<:$TEXMF_PARTS="05TeXMF 15Plain 45TeXinputs 55Fonts 65BibTeX 75DviPS 85Misc 90TeXDoc 95NonPath":>//
-<:for (@TEXMF_PARTS_FULLNAME=split(/ /,$TEXMF_PARTS)){s{(.*)}{texmf.d/$1.cnf}}:>//
-<:$TEX_COMMON_UCF_FILES="@TEXMF_PARTS_FULLNAME updmap.d/00updmap.cfg":>//
-<:#$confstatedir="/var/lib/tetex":>//
-<:#$no_config_prefix="admin-wants-no":>//
-<:$LSRS="/var/lib/texmf/ls-R /var/lib/texmf/ls-R-TEXMFMAIN /var/lib/texmf/ls-R-LOCAL /var/cache/fonts/ls-R":>//
-<:# get the package version - must be usable in subdirectories, too:>//)
-<:if(-f "changelog"){open(CHANGELOG,"changelog")} else {open(CHANGELOG, "../changelog")};
+<:
+# Copyright (C) 1999, 2000, 01, 02 by Davide Giovanni Maria Salvetti <salve at debian.org>.
+# Copyright (C) 2004, 05, 06 by Frank Küster <frank at debian.org>.
+# Copyright (C) 2006 by Julian Gilbey <jdg at debian.org>.
+# $Id$
+# this list is from dpkg-1.10.9/include/dpkg.h.in:
+$DPKG_EXTENSIONS="'~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist";
+$PREINST_MOVE_EXT="preinst-bak";
+$POSTINST_MOVE_EXT="postinst-bak";
+$PURGE_EXTENSIONS="$DPKG_EXTENSIONS $PREINST_MOVE_EXT $POSTINST_MOVE_EXT";
+# package specific
+$ETC="/etc/";
+$etc="/etc/texmf/";
+$doc="/usr/share/doc/$PACKAGE/";
+$TEXMFSYSVARDIR="/var/lib/texmf";
+$FONTMAP_MEMORY_DIR="/var/lib/tex-common/fontmap-cfg";
+$LANGUAGE_MEMORY_DIR="/var/lib/tex-common/language-cnf";
+$LANGUAGE_DIR="$etc/language.d";
+$LDAT_PATTERNS=<<EOL;
+  inhyph.tex bahyph.tex cahyph.tex hrhyph.tex czhyph.tex \\
+  dehypht.tex dehyphn.tex dkhyphen.tex nehyph.tex fi8hyph.tex frhyph.tex \\
+  gahyph.tex grhyph.tex icehyph.tex ithyph.tex lahyph.tex huhyph.tex \\
+  nohyph.tex nohyphb.tex nohyphbc.tex plhyph.tex pt8hyph.tex rohyphen.tex \\
+  ruhyphen.tex sehyph.tex skhyph.tex sihyph23.tex sphyph.tex trhyph.tex \\
+  ukrhyph.tex ukrhyph.t2a ukrhyph.lcy ukrhyph.ot2
+EOL
+$TEXMF_CNF="/etc/texmf/texmf.cnf";
+ at TEXMF_PARTS=qw(05TeXMF 15Plain 45TeXinputs 55Fonts 65BibTeX 75DviPS
+		85Misc 90TeXDoc 95NonPath);
+ at TEXMF_PARTS_FULLNAME = map { "texmf.d/$_.cnf"; } @TEXMF_PARTS;
+$TEX_COMMON_UCF_FILES="@TEXMF_PARTS_FULLNAME updmap.d/00updmap.cfg";
+#$confstatedir="/var/lib/tetex";
+#$no_config_prefix="admin-wants-no";
+$LSRS="/var/lib/texmf/ls-R /var/lib/texmf/ls-R-TEXMFMAIN /var/lib/texmf/ls-R-LOCAL /var/cache/fonts/ls-R";
+# get the package version - must be usable in subdirectories, too)
+open CHANGELOG, "debian/changelog" or die "Can't open debian/changelog: $!\n";
 # get the version even if the first line is blank
-while($VERSION=<CHANGELOG>){last if('' ne $VERSION=~s/$PACKAGE \((.*)\).*\n/$1/)}:>//
-<:# compute the corresponding version for a sarge backport:>//
-<:if ( ($rev=$VERSION)=~ s/.*-([[:digit:]]*).*/$1/, $rev == 0)
+while ($VERSION=<CHANGELOG>) {
+    last if $VERSION=~s/^$PACKAGE \((.*)\).*\n$/$1/;
+}
+# compute the corresponding version for a sarge backport
+($rev=$VERSION) =~ s/^.*-(\d+)[^\-]*$/$1/;
+if ($rev == 0) {
   # if the debian revision is 0 or 0.x, don't make a backport
-  {$SARGEVERSION = ''}
-else {
-  $sarge_rev=$rev-1;
-  ($SARGEVERSION=$VERSION)=~s/(.*-)$rev(.*)/$1${sarge_rev}bpo1/;
+    $SARGEVERSION = '';
+} else {
+    $sarge_rev = $rev-1;
+    ($SARGEVERSION=$VERSION) =~ s/^(.*-)$rev([^\-]*)$/$1${sarge_rev}${2}bpo1/;
 #   ($SARGEVERSION=$VERSION)=~s/(.*-)$rev(.*)/$1$rev.0.sarge1/;
-}:>//
-<:$FIRST_BASE_VERSION_WITH_COMMON="3.0-4":>//
-<:$README_sarge=''; $README_sarge='debian/sarge/README.sarge' if -e 'sarge-stamp':>//
-<:# upgrading stuff:>//
-<:$SYMLINK_MOVE_EXT="moved-by-preinst":>//
-<:# debconf:>//
-<:$CONFMODULE="/usr/share/debconf/confmodule":>//
-<:# docbase:>//
-<:$DINSTALL="test -x /usr/sbin/install-docs && install-docs --install":>//
-<:$DREMOVE="test -x /usr/sbin/install-docs && install-docs --remove":>//
-<:$docbase="/usr/share/doc-base/":>//
-<:# info:>//
-<:$IINSTALL="install-info --section \"$INFOSEC\" \"$INFOSEC\""
-	  . " --menuentry=\"$INFOMENU\""
-	  . " --description=\"$INFODESC\""
-	  . " --quiet":>//
-<:$IREMOVE="install-info --quiet --remove":>//
-<:$info="/usr/share/info/":>//
-<:# misc:>//
-<:$GPL="/usr/share/common-licenses/GPL":>//
-<:open(COPYRIGHT,'COPYRIGHT.scripts');@COPYRIGHT=<COPYRIGHT>;close(COPYRIGHT):>//
-<:
+}
+$FIRST_BASE_VERSION_WITH_COMMON="3.0-4";
+$README_sarge = (-e 'sarge-stamp') ? 'debian/sarge/README.sarge' : '';
+# upgrading stuff
+$SYMLINK_MOVE_EXT="moved-by-preinst";
+# debconf
+$CONFMODULE="/usr/share/debconf/confmodule";
+# docbase
+$DINSTALL="test -x /usr/sbin/install-docs && install-docs --install";
+$DREMOVE="test -x /usr/sbin/install-docs && install-docs --remove";
+$docbase="/usr/share/doc-base/";
+# info
+$IINSTALL=qq[install-info --section "$INFOSEC" "$INFOSEC"] .
+	    qq[ --menuentry="$INFOMENU" --description="$INFODESC" --quiet];
+$IREMOVE="install-info --quiet --remove";
+$info="/usr/share/info/";
+# misc
+$GPL="/usr/share/common-licenses/GPL";
+open COPYRIGHT, 'debian/COPYRIGHT.scripts'
+    or die "Couldn't open debian/COPYRIGHT.scripts: $!\n";
+ at COPYRIGHT=<COPYRIGHT>;
+close(COPYRIGHT);
+
 # local variables:
-# mode: shell-script
+# mode: perl
 # end:
 :>//

Added: tetex-base/trunk/debian/compat
===================================================================
--- tetex-base/trunk/debian/compat	2006-03-29 12:04:45 UTC (rev 1137)
+++ tetex-base/trunk/debian/compat	2006-03-29 14:16:48 UTC (rev 1138)
@@ -0,0 +1 @@
+4

Modified: tetex-base/trunk/debian/rules
===================================================================
--- tetex-base/trunk/debian/rules	2006-03-29 12:04:45 UTC (rev 1137)
+++ tetex-base/trunk/debian/rules	2006-03-29 14:16:48 UTC (rev 1138)
@@ -12,9 +12,6 @@
 # Uncomment this to turn on verbose mode. 
 #export DH_VERBOSE=1
 
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
-
 EPERL_FILES := debian/preinst debian/postinst debian/postrm \
    debian/tetex-base.dirs \
    debian/tetex-extra.postinst debian/tetex-extra.preinst \
@@ -58,7 +55,7 @@
 
 # Eperl is simply great: thanks, Davide!
 % :: %.in $(eperl_sourcefiles)
-	eperl -I $(eperl_pwd) -P -o $@ $<
+	eperl -k -I $(eperl_pwd) -P -o $@ $<
 	-head -1 $@ | grep '^#!/' >/dev/null && chmod a+x $@
 
 # Override this rule for debian/rules, which needs an additional command
@@ -67,13 +64,13 @@
         # time the rules file is going to be regenerated
 	$(update_commonstuff)
         # Regenerate the rules file
-	eperl -P -o $@ $<
+	eperl -k -P -o $@ $<
 
 # Override the general rule for eperl-generated files in order to avoid a
 # circular dependency (debian/common.functions is listed in
 # $(eperl_sourcefiles)).
 debian/common.functions: debian/common.functions.in debian/common.variables
-	eperl -P -o $@ $<
+	eperl -k -P -o $@ $<
 
 
 build: $(stampdir)/build-stamp
@@ -107,7 +104,7 @@
 test -e $(real_common_functions_in) && \
   test $(real_common_functions_in) -nt debian/common.functions.in && \
   cp $(real_common_functions_in) debian/ && \
-  eperl -P -o debian/common.functions debian/common.functions.in || true
+  eperl -k -P -o debian/common.functions debian/common.functions.in || true
 endef
 
 # For command-line use

Modified: tetex-base/trunk/debian/rules.in
===================================================================
--- tetex-base/trunk/debian/rules.in	2006-03-29 12:04:45 UTC (rev 1137)
+++ tetex-base/trunk/debian/rules.in	2006-03-29 14:16:48 UTC (rev 1138)
@@ -17,9 +17,6 @@
 # Uncomment this to turn on verbose mode. 
 #export DH_VERBOSE=1
 
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
-
 EPERL_FILES := debian/preinst debian/postinst debian/postrm \
    debian/tetex-base.dirs \
    debian/tetex-extra.postinst debian/tetex-extra.preinst \
@@ -63,7 +60,7 @@
 
 # Eperl is simply great: thanks, Davide!
 % :: %.in $(eperl_sourcefiles)
-	eperl -I $(eperl_pwd) -P -o $@ $<
+	eperl -k -I $(eperl_pwd) -P -o $@ $<
 	-head -1 $@ | grep '^#!/' >/dev/null && chmod a+x $@
 
 # Override this rule for debian/rules, which needs an additional command
@@ -72,13 +69,13 @@
         # time the rules file is going to be regenerated
 	$(update_commonstuff)
         # Regenerate the rules file
-	eperl -P -o $@ $<
+	eperl -k -P -o $@ $<
 
 # Override the general rule for eperl-generated files in order to avoid a
 # circular dependency (debian/common.functions is listed in
 # $(eperl_sourcefiles)).
 debian/common.functions: debian/common.functions.in debian/common.variables
-	eperl -P -o $@ $<
+	eperl -k -P -o $@ $<
 
 
 build: $(stampdir)/build-stamp
@@ -112,7 +109,7 @@
 test -e $(real_common_functions_in) && \
   test $(real_common_functions_in) -nt debian/common.functions.in && \
   cp $(real_common_functions_in) debian/ && \
-  eperl -P -o debian/common.functions debian/common.functions.in || true
+  eperl -k -P -o debian/common.functions debian/common.functions.in || true
 endef
 
 # For command-line use

Modified: tetex-base/trunk/debian/variables
===================================================================
--- tetex-base/trunk/debian/variables	2006-03-29 12:04:45 UTC (rev 1137)
+++ tetex-base/trunk/debian/variables	2006-03-29 14:16:48 UTC (rev 1138)
@@ -1,35 +1,38 @@
-<:# Copyright (C) 1999, 2000, 01, 02, 03, 04 by Davide Giovanni Maria Salvetti.:>//
-<:# Copyright (C) 2004 by Frank Küster <frank at kuesterei.ch>.:>//
-<:# $Id$:>//
-<:use File::Basename:>//
-<:$PACKAGE="tetex-base":>//
-<:open(CHANGELOG,"changelog");($_=<CHANGELOG>)=~/tetex-bin \((.*)\)/;$VERSION="$1":>//
-<:$VARTEXMF="/var/lib/texmf":>//
-<:$PKG_SHAREDIR="/usr/share/tetex-base":>//
-<:$LDAT_PATTERNS="inhyph.tex bahyph.tex cahyph.tex hrhyph.tex czhyph.tex \\
-    dehypht.tex dehyphn.tex dkhyphen.tex nehyph.tex fi8hyph.tex frhyph.tex \\
-    gahyph.tex grhyph.tex icehyph.tex ithyph.tex lahyph.tex huhyphn.tex nohyph.tex \\
-    nohyphb.tex nohyphbc.tex plhyph.tex pt8hyph.tex rohyphen.tex ruhyphen.tex \\
-    sehyph.tex skhyph.tex sihyph23.tex sphyph.tex trhyph.tex ukrhyph.tex \\
-    ukrhyph.t2a ukrhyph.lcy ukrhyph.ot2":>//
-<:# this list is from dpkg-1.10.9/include/dpkg.h.in:  :>//
-<:$VARTOP_GENERATED="helpindex.html ls-R ls-R-TEXMFMAIN":>//
-<:$STANDARD_INFO_TEXT="This file is no longer needed. You may safely delete it.":>//
-<:$MOVE_GENERIC_UCF="generic/fontmath.cfg generic/fonttext.cfg generic/preload.cfg":>//
-<:#$MOVE_CONTEXT_NOUCF="original-adobe-euro.map original-context-symbol.map original-vogel-symbol.map":>//
-<:$MOVE_CONTEXT_UCF="original-ams-euler.map original-ams-cmr.map original-youngryu-tx.map original-youngryu-px.map":>//
-<:$unused_contextmaps="il2-ams-cmr.map pl0-ams-cmr.map original-adobe-euro.map original-context-symbol.map original-vogel-symbol.map":>//
-<:$contextmaps_oldplace="pdftex/context":>//
-<:$contextmaps_newplace="map/dvips/context":>//
-<:for (@unused_contextmaps_oldplace=split(/ /,$unused_contextmaps)){s{(.*)}{$contextmaps_oldplace/$1}}:>//
-<:for (@unused_contextmaps_newplace=split(/ /,$unused_contextmaps)){s{(.*)}{$contextmaps_newplace/$1}}:>//
-<:for (@MOVE_CONTEXT_UCF_NEWPLACE=split(/ /,$MOVE_CONTEXT_UCF)){s{(.*)}{$contextmaps_newplace/$1}}:>//
-<:for (@MOVE_CONTEXT_UCF_OLDPLACE=split(/ /,$MOVE_CONTEXT_UCF)){s{(.*)}{$contextmaps_oldplace/$1}}:>//
-<:$unused_inifiles="cyrplain/cyrtex.ini cyrplain/cyrtxinf.ini cyrplain/cyramstx.ini \
+<:
+# Copyright (C) 1999, 2000, 01, 02, 03, 04 by Davide Giovanni Maria Salvetti.
+# Copyright (C) 2004 by Frank Küster <frank at kuesterei.ch>.
+# $Id$
+use File::Basename;
+
+$PACKAGE="tetex-base";
+$VARTEXMF="/var/lib/texmf";
+$PKG_SHAREDIR="/usr/share/tetex-base";
+
+ at MOVE_GENERIC_UCF=qw(generic/fontmath.cfg generic/fonttext.cfg
+		     generic/preload.cfg);
+#@MOVE_CONTEXT_NOUCF=qw(original-adobe-euro.map original-context-symbol.map
+#		       original-vogel-symbol.map);
+ at MOVE_CONTEXT_UCF=qw(original-ams-euler.map original-ams-cmr.map
+		     original-youngryu-tx.map original-youngryu-px.map);
+ at unused_contextmaps=qw(il2-ams-cmr.map pl0-ams-cmr.map original-adobe-euro.map
+		       original-context-symbol.map original-vogel-symbol.map);
+$contextmaps_oldplace="pdftex/context";
+$contextmaps_newplace="map/dvips/context";
+
+ at MOVE_CONTEXT_UCF_OLDPLACE =
+    map { "$contextmaps_oldplace/$1"; } @MOVE_CONTEXT_UCF;
+ at MOVE_CONTEXT_UCF_NEWPLACE =
+    map { "$contextmaps_newplace/$1"; } @MOVE_CONTEXT_UCF;
+ at unused_contextmaps_oldplace =
+    map { "$contextmaps_oldplace/$1"; } @unused_contextmaps;
+ at unused_contextmaps_newplace =
+    map { "$contextmaps_newplace/$1"; } @unused_contextmaps;
+
+$unused_inifiles="cyrplain/cyrtex.ini cyrplain/cyrtxinf.ini cyrplain/cyramstx.ini \
   latex/latex.ini platex/platex.ini etex/etex.ini \
   context/cont-cz.ini context/cont-de.ini context/cont-en.ini context/cont-it.ini \
-  context/cont-nl.ini context/cont-ro.ini context/cont-uk.ini":>//
-<:$unused_conffiles_map_3="map/dvips/antp/antp.map map/dvips/antt/cork-antt.map map/dvips/antt/cs-antt.map \
+  context/cont-nl.ini context/cont-ro.ini context/cont-uk.ini";
+$unused_conffiles_map_3="map/dvips/antp/antp.map map/dvips/antt/cork-antt.map map/dvips/antt/cs-antt.map \
 map/dvips/antt/exp-antt.map map/dvips/antt/greek-antt.map map/dvips/antt/qx-antt.map map/dvips/antt/t2a-antt.map \
 map/dvips/antt/t2b-antt.map map/dvips/antt/t2c-antt.map map/dvips/antt/texnansi-antt.map map/dvips/antt/wncy-antt.map \
 map/dvips/antt/t5-antt.map map/dvips/cc-pl/ccpl.map map/dvips/lucida/lucidabr-k.map map/dvips/lucida/lucidabr.map \
@@ -54,60 +57,70 @@
 map/dvips/context/qx-public-lm.map map/dvips/context/texnansi-base.map map/dvips/context/texnansi-public-lm.map \
 map/dvips/context/texnansi-var-exclusive-public-lm.map map/dvips/context/texnansi-var-public-lm.map \
 map/dvips/context/original-public-vnr.map map/dvips/context/t5-base.map map/dvips/context/t5-public-lm.map \
-map/dvipdfm/tetex/cm-dvipdfm-fix.map map/pdftex/cmttf/cmttf.map":>//
-<:$unused_conffiles_misc_3="plain/language.def platex/language.dat platex/hyphen.cfg cyrplain/cyrtex.cfg \
+map/dvipdfm/tetex/cm-dvipdfm-fix.map map/pdftex/cmttf/cmttf.map";
+$unused_conffiles_misc_3="plain/language.def platex/language.dat platex/hyphen.cfg cyrplain/cyrtex.cfg \
 cslatex/fonttext.cfg cslatex/hyphen.cfg latex/latex209.cfg latex/ltxdoc.cfg latex/ltxguide.cfg \
 latex/texsys.cfg latex/color.cfg latex/graphics.cfg context/texexec.ini context/texexec.rme \
 context/cont-usr.tex dvips/config.ps dvips/config.antp dvips/config.antt dvips/config.mirr \
 dvips/config.outline dvips/config.dfaxhigh dvips/config.pdf dvips/config.dfaxlo dvips/config.pk \
 dvips/config.download35 dvips/config.www dvips/config.gsftopk dvips/config.pl dvips/config.qbk \
 dvips/config.qcr dvips/config.qhv dvips/config.qpl dvips/config.qtm dvips/config.qzc dvips/config.omega \
-dvips/omega.cfg dvipdfm/README.config modes.mf":>//
-<:$unused_conffiles_misc_2="dvips/context.map etex/language.def latex/fontmath.cfg latex/fonttext.cfg \
-latex/preload.cfg pdftex/cmttf.map":>//
-<:$unused_conffiles_etch_development="language.d/00tetex.cnf":>//
-<:$UNUSED_CONFFILES_BASE="@unused_contextmaps_newplace @unused_contextmaps_oldplace $unused_inifiles \
-$unused_conffiles_misc_3 $unused_conffiles_map_3 $unused_conffiles_misc_2 $unused_conffiles_etch_development":>//
-<:#unused confdirs are not in fact necessarily unused; they just need:>//
-<:#to be removed upon purge, after deleting files in them.:>//
-<:$OLDSTUFFDIR="/etc/texmf/oldstuff_unused":>//
-<:$UNUSED_CONFDIRS_BASE="etex pdftex $OLDSTUFFDIR dvipdfm dvips generic context latex cslatex\
+dvips/omega.cfg dvipdfm/README.config modes.mf";
+$unused_conffiles_misc_2="dvips/context.map etex/language.def latex/fontmath.cfg latex/fonttext.cfg \
+latex/preload.cfg pdftex/cmttf.map";
+$unused_conffiles_etch_development="language.d/00tetex.cnf";
+$UNUSED_CONFFILES_BASE="@unused_contextmaps_newplace @unused_contextmaps_oldplace $unused_inifiles \
+$unused_conffiles_misc_3 $unused_conffiles_map_3 $unused_conffiles_misc_2 $unused_conffiles_etch_development";
+#unused confdirs are not in fact necessarily unused; they just need
+#to be removed upon purge, after deleting files in them.
+$OLDSTUFFDIR="/etc/texmf/oldstuff_unused";
+$UNUSED_CONFDIRS_BASE="etex pdftex $OLDSTUFFDIR dvipdfm dvips generic context latex cslatex\
 cyrplain platex plain map map/pdftex map/pdftex/cmttf map/dvipdfm map/dvipdfm/tetex map/dvips \
 map/dvips/context map/dvips/vntex map/dvips/urwvn map/dvips/tetex map/dvips/qfonts map/dvips/psnfssx \
-map/dvips/ps map/dvips/misc map/dvips/lucida map/dvips/cc-pl map/dvips/antt map/dvips/antp":>//
-<:#$BASE_UCF contains a list of files with their destination directories below /etc/texmf/:>//
-<:$BASE_UCF="mktex.cnf dvips/config.builtin35 dvipdfm/config \\
+map/dvips/ps map/dvips/misc map/dvips/lucida map/dvips/cc-pl map/dvips/antt map/dvips/antp";
+#$BASE_UCF contains a list of files with their destination directories below /etc/texmf/
+$BASE_UCF="mktex.cnf dvips/config.builtin35 dvipdfm/config \\
     map/dvips/tetex/contnav.map generic/pdftexconfig.tex \\
-    $MOVE_GENERIC_UCF @MOVE_CONTEXT_UCF_NEWPLACE @MOVE_CONTEXT_UCF_OLDPLACE":>//
-<:$REAL_BASE_UCF="/etc/texdoctk/texdocrc":>//
-<:$unused_conffiles_extra_latex="SIunits.cfg adrdir.cfg adrplaner.cfg adrsmall.cfg draftcopy.cfg efxmpl.cfg geometry.cfg htex4ht.cfg hyperref.cfg jblong.cfg jurabib.cfg lettrine.cfg listings.cfg microtype.cfg mt-bch.cfg mt-cmr.cfg mt-pad.cfg mt-pmn.cfg mt-ppl.cfg mt-ptm.cfg pict2e.cfg subfig.cfg subfigure.cfg seminar.con":>//
-<:for (@unused_conffiles_extra_latex=split(/ /,$unused_conffiles_extra_latex)){s{(.*)}{latex/$1}}:>//
-<:$unused_conffiles_extra_misc="map/dvips/ams/psfonts.ams map/dvips/ams/psfonts.amz map/dvips/ams/psfonts.cm map/dvips/ams/psfonts.cmz map/dvips/misc/eurosym.map map/dvips/omega/omega.map map/dvips/tetex/bsr-interpolated.map map/dvips/tetex/bsr.map map/dvips/xypic/xypic.map lambda/language.dat":>//
-<:$UNUSED_CONFFILES_EXTRA="@unused_conffiles_extra_latex $unused_conffiles_extra_misc":>//
-<:$BLUESKY_UCF="dvips/config.ams dvips/config.cm dvips/config.amz dvips/config.cmz":>//
-<:$UNUSED_CONFDIRS_EXTRA="map map/dvips map/dvips/ams map/dvips/misc map/dvips/omega map/dvips/tetex \
-lambda dvips latex":>//
-<:$generated_maps_dvips="download35.map builtin35.map psfonts_t1.map psfonts_pk.map ps2pk.map":>//
-<:$generated_maps_dvipdfm="dvipdfm_dl14.map dvipdfm_ndl14.map":>//
-<:$generated_maps_pdftex="pdftex_dl14.map pdftex_ndl14.map":>//
-<:$vardvips="/var/lib/texmf/fonts/map/dvips/updmap":>//
-<:$vardvipdfm="/var/lib/texmf/fonts/map/dvipdfm/updmap":>//
-<:$varpdftex="/var/lib/texmf/fonts/map/pdftex/updmap":>//
-<:### Variables needed for upgrades from pre-woody:>//
-<:$VERYOLD_TEXMF="/usr/lib/texmf/web2c":>//
-<:### Variables needed for upgrades since woody:>//
-<:$OLD_WEB2C="/usr/share/texmf/web2c":>//
-<:$WOODY_FMTCNF="$PKG_SHAREDIR/fmtutil.cnf.1.0.7":>//
-<:$NOWLINKDIRS="":>//
-<:$NOWDIRLINKS="tex/latex/config tex/platex/config tex/cyrplain/config tex/context/config \
+    @MOVE_GENERIC_UCF @MOVE_CONTEXT_UCF_NEWPLACE @MOVE_CONTEXT_UCF_OLDPLACE";
+$REAL_BASE_UCF="/etc/texdoctk/texdocrc";
+
+ at unused_conffiles_extra_latex=qw(SIunits.cfg adrdir.cfg adrplaner.cfg
+  adrsmall.cfg draftcopy.cfg efxmpl.cfg geometry.cfg htex4ht.cfg hyperref.cfg
+  jblong.cfg jurabib.cfg lettrine.cfg listings.cfg microtype.cfg mt-bch.cfg
+  mt-cmr.cfg mt-pad.cfg mt-pmn.cfg mt-ppl.cfg mt-ptm.cfg pict2e.cfg subfig.cfg
+  subfigure.cfg seminar.con);
+ at unused_conffiles_extra_latex =
+    map { "latex/$1"; } @unused_conffiles_extra_latex;
+
+$unused_conffiles_extra_misc="map/dvips/ams/psfonts.ams map/dvips/ams/psfonts.amz map/dvips/ams/psfonts.cm map/dvips/ams/psfonts.cmz map/dvips/misc/eurosym.map map/dvips/omega/omega.map map/dvips/tetex/bsr-interpolated.map map/dvips/tetex/bsr.map map/dvips/xypic/xypic.map lambda/language.dat";
+$UNUSED_CONFFILES_EXTRA="@unused_conffiles_extra_latex $unused_conffiles_extra_misc";
+
+$BLUESKY_UCF="dvips/config.ams dvips/config.cm dvips/config.amz dvips/config.cmz";
+$UNUSED_CONFDIRS_EXTRA="map map/dvips map/dvips/ams map/dvips/misc map/dvips/omega map/dvips/tetex \
+lambda dvips latex";
+
+$generated_maps_dvips="download35.map builtin35.map psfonts_t1.map psfonts_pk.map ps2pk.map";
+$generated_maps_dvipdfm="dvipdfm_dl14.map dvipdfm_ndl14.map";
+$generated_maps_pdftex="pdftex_dl14.map pdftex_ndl14.map";
+$vardvips="/var/lib/texmf/fonts/map/dvips/updmap";
+$vardvipdfm="/var/lib/texmf/fonts/map/dvipdfm/updmap";
+$varpdftex="/var/lib/texmf/fonts/map/pdftex/updmap";
+### Variables needed for upgrades from pre-woody
+$VERYOLD_TEXMF="/usr/lib/texmf/web2c";
+### Variables needed for upgrades since woody
+$OLD_WEB2C="/usr/share/texmf/web2c";
+$WOODY_FMTCNF="$PKG_SHAREDIR/fmtutil.cnf.1.0.7";
+$NOWLINKDIRS="";
+$NOWDIRLINKS="tex/latex/config tex/platex/config tex/cyrplain/config tex/context/config \
  dvips/config fonts/map/dvipdfm fonts/map/dvips fonts/map/pdftex dvipdfm/config \
- tex/generic/config tex/lambda/config":>//
-<:$OLD_TEXDOCTK="texdoc-100.dat texdoc-102.dat texdoc-103.dat":>//
-<:### Variables needed for upgrades since sarge:>//
-<:# Misc package variables:>//
+ tex/generic/config tex/lambda/config";
+$OLD_TEXDOCTK="texdoc-100.dat texdoc-102.dat texdoc-103.dat";
+### Variables needed for upgrades since sarge
+# Misc package variables
+:>//
 #include "common.variables"
 <:
 # Local variables:
-# mode: shell-script
+# mode: perl
 # end:
 :>//




More information about the Pkg-tetex-commits mailing list