[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fmt.d configuration files changes



Hi Frank!

On Don, 21 Jul 2005, Norbert Preining wrote:
> Does this mean that you think it is a good idea? Then I will do it, it
> does not seem to be too complicated, they all use the same procedure.

Attached is a diff wrt current svn contents.

Ah yes, scripts/update-fmtutil also has to be deleted!

I also fixed the installation of the man pages of update-updmap and
update-language (and now also update-fmtutil), as the automatic
procedure didn't work directly.

All was trivial. Nice. What next? update-texmf ;-) Well, not so simple,
we have the problem with the ucf stuff, purtroppo.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
sip:preining@at43.tuwien.ac.at                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
BAUMBER
A fitted elasticated bottom sheet which turns your mattress
bananashaped.
			--- Douglas Adams, The Meaning of Liff
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 <preining@logic.at>  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

Reply to: