Package: tex-common Version: 0.3.1 Severity: normal Tags: patch HI all!
Please merge update-fmtutil into update-fontlang. This way we get for free that fmtutil.d/ files can be changed by the user and can stay on the system after a remove without purge. Patch attached. But against a bit older version of update-fontlang tetex must be adjusted to contain the magic string in the 00tetex.cnf file. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13-rc3-mm1 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages tex-common depends on: ii debconf 1.4.52 Debian configuration management sy ii ucf 2.000 Update Configuration File: preserv tex-common recommends no packages. -- no debconf information
Only in tex-common-svn-norbert/: build-stamp diff -ur tex-common-svn/trunk/debian/changelog tex-common-svn-norbert/debian/changelog --- tex-common-svn/trunk/debian/changelog 2005-07-20 20:08:49.000000000 +0200 +++ tex-common-svn-norbert/debian/changelog 2005-07-21 01:45:18.000000000 +0200 @@ -1,3 +1,9 @@ +tex-common (0.3.6) unstable; urgency=low + + * Also use update-fontlang for update-fmtutil + + -- Norbert Preining <[EMAIL PROTECTED]> Thu, 21 Jul 2005 01:44:00 +0200 + tex-common (0.3.5) unstable; urgency=low * Merged update-updmap and update-language into one file Only in tex-common-svn-norbert/debian: common.functions Only in tex-common-svn-norbert/debian: files Only in tex-common-svn-norbert/debian: postinst Only in tex-common-svn-norbert/debian: postrm diff -ur tex-common-svn/trunk/debian/rules tex-common-svn-norbert/debian/rules --- tex-common-svn/trunk/debian/rules 2005-07-20 20:08:49.000000000 +0200 +++ tex-common-svn-norbert/debian/rules 2005-07-21 01:51:52.000000000 +0200 @@ -5,10 +5,10 @@ INSTDIR=$(CURDIR)/debian/tex-common -sbin_scripts=update-fmtutil update-texmf update-fontlang +sbin_scripts=update-texmf update-fontlang sbin_installfiles=$(foreach script,$(sbin_scripts), scripts/$(script)) -sbin_manpages=$(foreach script,$(sbin_scripts), scripts/$(script).8) -bin_manpages=$(foreach script,$(bin_scripts), scripts/$(script).1) +sbin_manpages=$(foreach script,$(sbin_scripts), scripts/$(script).8) scripts/update-fmtutil.8 scripts/update-language.8 +bin_manpages=$(foreach script,$(bin_scripts), scripts/$(script).1) scripts/update-updmap.1 # for the teTeX packages teTeX_buildfiles=debian/common.variables debian/common.functions @@ -69,7 +69,9 @@ cp -a debian/md5sums/* $(INSTDIR)/usr/share/tex-common/ cp $(sbin_installfiles) $(INSTDIR)/usr/sbin/ ln -s /usr/sbin/update-fontlang $(INSTDIR)/usr/sbin/update-language + ln -s /usr/sbin/update-fontlang $(INSTDIR)/usr/sbin/update-fmtutil ln -s /usr/sbin/update-fontlang $(INSTDIR)/usr/bin/update-updmap + cp $(teTeX_buildfiles) $(INSTDIR)/usr/share/tex-common/teTeX-build/ Only in tex-common-svn-norbert/debian: tex-common Only in tex-common-svn-norbert/doc: Debian-TeX-Policy.html Only in tex-common-svn-norbert/doc: Debian-TeX-Policy.txt Only in tex-common-svn/trunk/scripts: update-fmtutil diff -ur tex-common-svn/trunk/scripts/update-fontlang tex-common-svn-norbert/scripts/update-fontlang --- tex-common-svn/trunk/scripts/update-fontlang 2005-07-21 01:35:16.000000000 +0200 +++ tex-common-svn-norbert/scripts/update-fontlang 2005-07-21 01:43:48.000000000 +0200 @@ -48,8 +48,21 @@ CC="#" PCC="#" # for printfCOMMENTCHAR HELPTEXT="Generate an updmap configuration file." +elif [ "$progname" = "update-fmtutil" ] ; then + CNFDIR=fmt.d + # System-wide configuration directory + SYSWIDE_CONFDIR=/etc/texmf/$CNFDIR + CHECKFILE="$SYSWIDE_CONFDIR/00tex.cnf" + EXT="cnf" + MEMORY_DIR=/var/lib/tex-common/fmtutil-cnf + SYSWIDE_VARD=/var/lib/texmf/web2c + DEFAULT_OUTPUTFILE_BASENAME=fmtutil.cnf + SYSWIDE_DEFAULT_OUTPUTFILE="$SYSWIDE_VARD/$DEFAULT_OUTPUTFILE_BASENAME" + CC="#" + PCC="#" # for printfCOMMENTCHAR + HELPTEXT="Generate a fmtutil configuration file." else - echo "Please call me either as update-updmap or update-language!" + echo "Please call me either as update-updmap, update-language, or update-fmtutil!" exit 1 fi diff -ur tex-common-svn/trunk/scripts/update-fontlang.8 tex-common-svn-norbert/scripts/update-fontlang.8 --- tex-common-svn/trunk/scripts/update-fontlang.8 2005-07-20 20:08:49.000000000 +0200 +++ tex-common-svn-norbert/scripts/update-fontlang.8 2005-07-21 01:47:01.000000000 +0200 @@ -8,19 +8,25 @@ .B update-updmap .I "[options]" .br +.B update-fmtutil +.I "[options]" +.br .SH DESCRIPTION .BR update-fontlang should be called as .B update-updmap or -.B update-language. +.B update-language +or +.B update-fmtutil. Depending on the name it is called with, it behaves as described in the respective manual pages. It should not be called directly .PP .SH SEE ALSO .PP .BR update-language (8), -.BR update-updmap (1); +.BR update-updmap (1), +.BR update-fmtutil (1); further information can be found in the Debian TeX Policy, .B /usr/share/doc/tex-common/Debian-TeX-Policy.txt.gz .PP