[Debian-tex-commits] SVN tex-common commit + diffs: r5057 - in tex-common/branches/v3: debian scripts
Norbert Preining
preining at alioth.debian.org
Sun Feb 26 04:47:03 UTC 2012
Author: preining
Date: 2012-02-26 04:46:32 +0000 (Sun, 26 Feb 2012)
New Revision: 5057
Removed:
tex-common/branches/v3/scripts/update-fontlang.8.old
tex-common/branches/v3/scripts/update-texmf
tex-common/branches/v3/scripts/update-texmf.8
Modified:
tex-common/branches/v3/debian/dirs
tex-common/branches/v3/debian/rules
tex-common/branches/v3/debian/tex-common.links
tex-common/branches/v3/scripts/update-language-dat
tex-common/branches/v3/scripts/update-language-def
Log:
more clean up
Modified: tex-common/branches/v3/debian/dirs
===================================================================
--- tex-common/branches/v3/debian/dirs 2012-02-26 04:39:18 UTC (rev 5056)
+++ tex-common/branches/v3/debian/dirs 2012-02-26 04:46:32 UTC (rev 5057)
@@ -8,7 +8,6 @@
usr/share/lintian/overrides
etc/texmf/fmt.d
etc/texmf/hyphen.d
-etc/texmf/texmf.d
etc/texmf/language.d
var/lib/texmf/web2c
var/lib/texmf/tex/generic/config
Modified: tex-common/branches/v3/debian/rules
===================================================================
--- tex-common/branches/v3/debian/rules 2012-02-26 04:39:18 UTC (rev 5056)
+++ tex-common/branches/v3/debian/rules 2012-02-26 04:46:32 UTC (rev 5057)
@@ -6,7 +6,7 @@
INSTDIR=$(CURDIR)/debian/tex-common
bin_scripts=dh_installtex update-fmtlang
-sbin_scripts=update-texmf update-texmf-config update-updmap
+sbin_scripts=update-texmf-config update-updmap
nonbin_scripts=tpm2licenses tpm2licenses.README Tpm.pm FileUtils.pm debianize-updmap
sbin_installfiles=$(foreach script,$(sbin_scripts), scripts/$(script))
@@ -20,7 +20,7 @@
scripts/language.dat.header
# create maintainer scripts etc.
-EPERL_FILES := debian/common.functions debian/postinst debian/postrm debian/config debian/preinst
+EPERL_FILES := debian/common.functions debian/postinst debian/postrm debian/config
eperl_sourcefiles=debian/variables debian/COPYRIGHT.scripts debian/postinst.functions \
debian/common.variables debian/common.functions debian/postrm.functions
@@ -77,7 +77,6 @@
cp conf/fmt.d/00tex.cnf $(INSTDIR)/etc/texmf/fmt.d/
cp conf/hyphen.d/00tex.cnf $(INSTDIR)/etc/texmf/hyphen.d/
# ucf files
- cp conf/texmf.d/*cnf $(INSTDIR)/usr/share/tex-common/
cp -a debian/md5sums/* $(INSTDIR)/usr/share/tex-common/
cp $(sbin_installfiles) $(INSTDIR)/usr/sbin/
cp $(bin_installfiles) $(INSTDIR)/usr/bin/
Modified: tex-common/branches/v3/debian/tex-common.links
===================================================================
--- tex-common/branches/v3/debian/tex-common.links 2012-02-26 04:39:18 UTC (rev 5056)
+++ tex-common/branches/v3/debian/tex-common.links 2012-02-26 04:46:32 UTC (rev 5057)
@@ -1,15 +1,14 @@
-usr/share/man/man1/update-fontlang.1 usr/share/man/man1/update-fmtutil.1
-usr/share/man/man1/update-fontlang.1 usr/share/man/man1/update-language.1
-usr/share/man/man1/update-fontlang.1 usr/share/man/man1/update-language-def.1
-usr/share/man/man1/update-fontlang.1 usr/share/man/man1/update-language-dat.1
-usr/bin/update-fontlang usr/bin/update-fmtutil
-usr/bin/update-fontlang usr/bin/update-language
-usr/bin/update-fontlang usr/bin/update-language-def
-usr/bin/update-fontlang usr/bin/update-language-dat
-usr/bin/update-fontlang usr/sbin/update-fmtutil
-usr/bin/update-fontlang usr/sbin/update-language
-usr/bin/update-fontlang usr/sbin/update-language-def
-usr/bin/update-fontlang usr/sbin/update-language-dat
-etc/texmf/texmf.cnf usr/share/texmf/web2c/texmf.cnf
+usr/share/man/man1/update-fmtlang.1 usr/share/man/man1/update-fmtutil.1
+usr/share/man/man1/update-fmtlang.1 usr/share/man/man1/update-language.1
+usr/share/man/man1/update-fmtlang.1 usr/share/man/man1/update-language-def.1
+usr/share/man/man1/update-fmtlang.1 usr/share/man/man1/update-language-dat.1
+usr/bin/update-fmtlang usr/bin/update-fmtutil
+usr/bin/update-fmtlang usr/bin/update-language
+usr/bin/update-fmtlang usr/bin/update-language-def
+usr/bin/update-fmtlang usr/bin/update-language-dat
+usr/bin/update-fmtlang usr/sbin/update-fmtutil
+usr/bin/update-fmtlang usr/sbin/update-language
+usr/bin/update-fmtlang usr/sbin/update-language-def
+usr/bin/update-fmtlang usr/sbin/update-language-dat
var/lib/texmf/ls-R-TEXMFMAIN usr/share/texmf/ls-R
usr/share/doc/texmf usr/share/texmf/doc
Deleted: tex-common/branches/v3/scripts/update-fontlang.8.old
===================================================================
--- tex-common/branches/v3/scripts/update-fontlang.8.old 2012-02-26 04:39:18 UTC (rev 5056)
+++ tex-common/branches/v3/scripts/update-fontlang.8.old 2012-02-26 04:46:32 UTC (rev 5057)
@@ -1,39 +0,0 @@
-.TH UPDATE-FONTLANG 8
-.SH NAME
-update-fontlang \- helper script for tex-common
-.SH SYNOPSIS
-.B update-language
-.I "[options]"
-.br
-.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
-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-fmtutil (1);
-further information can be found in the Debian TeX Policy,
-.B /usr/share/doc/tex-common/Debian-TeX-Policy.txt.gz
-and the TeX on Debian documentation,
-.B /usr/share/doc/tex-common/TeX-on-Debian.txt.gz
-.PP
-.SH AUTHOR
-This manual page was written by Frank K\[:u]ster <frank at debian.org>,
-for the Debian GNU/Linux system, but may be used by others under the
-terms of the GNU General Public License, either version 2 or any later
-version.
Modified: tex-common/branches/v3/scripts/update-language-dat
===================================================================
--- tex-common/branches/v3/scripts/update-language-dat 2012-02-26 04:39:18 UTC (rev 5056)
+++ tex-common/branches/v3/scripts/update-language-dat 2012-02-26 04:46:32 UTC (rev 5057)
@@ -1 +1 @@
-link update-fontlang
\ No newline at end of file
+link update-fmtlang
\ No newline at end of file
Modified: tex-common/branches/v3/scripts/update-language-def
===================================================================
--- tex-common/branches/v3/scripts/update-language-def 2012-02-26 04:39:18 UTC (rev 5056)
+++ tex-common/branches/v3/scripts/update-language-def 2012-02-26 04:46:32 UTC (rev 5057)
@@ -1 +1 @@
-link update-fontlang
\ No newline at end of file
+link update-fmtlang
\ No newline at end of file
Deleted: tex-common/branches/v3/scripts/update-texmf
===================================================================
--- tex-common/branches/v3/scripts/update-texmf 2012-02-26 04:39:18 UTC (rev 5056)
+++ tex-common/branches/v3/scripts/update-texmf 2012-02-26 04:46:32 UTC (rev 5057)
@@ -1,107 +0,0 @@
-#!/bin/sh
-# update-texmf
-# License: GPL
-
-set -e
-
-TXMF=/etc/texmf
-TXMF_CNF=$TXMF/texmf.cnf
-CNFDIR=${TXMF}/texmf.d
-VARD=/var/lib/texmf/web2c
-MD5SUMS=/usr/share/tex-common/texmf.cnf.md5sum.d/
-TMPDIR=`mktemp -d`
-TMPTXMF=`mktemp -p ${TMPDIR} texmfXXXXXXX`
-
-VERBOSE=false
-DEBUG=false
-while [ $# -ne 0 ]; do
- case $1 in
- -v|--verbose)
- VERBOSE=true
- shift;;
- -d|--debug)
- DEBUG=true
- VERBOSE=true
- shift;;
- *)
- echo "unknown option: $1"
- exit 1
- ;;
- esac
-done
-
-# test wether /etc isn't mounted read-only
-if touch /etc/texmf/is_rw 2>/dev/null; then
- rm -f /etc/texmf/is_rw
-else
- echo "Directory /etc/texmf/ not writeable. Exiting."
- exit 1
-fi
-
-if [ -f ${CNFDIR}/05TeXMF.cnf ] ; then
- CNFFILES=`/bin/ls -1 ${CNFDIR}/*.cnf`
- if [ $DEBUG = true ]; then
- echo "Using the following files:"
- for file in $CNFFILES; do
- echo $file
- done
- fi
-else
- echo "update-texmf: Basic configuration file ${CNFDIR}/05TeXMF.cnf missing." >&2
- echo "Exiting." >&2
-exit 1
-fi
-
-if [ "${VERBOSE}" = "true" ]; then
- if [ -f "${TXMF}/texmf.cnf" ]; then
- echo -n "Merging information from /etc/texmf/texmf.d/ into ${TXMF}/texmf.cnf ... " >&2
- else
- echo -n "Generating ${TXMF}/texmf.cnf ... " >&2
- fi
-fi
-
-cat > ${TMPTXMF} <<EOF
-%%% This file is automatically generated by update-texmf
-%
-% PLEASE DO NOT EDIT THIS FILE DIRECTLY. It is meant to be generated from
-% files in /etc/texmf/texmf.d/.
-%
-% While changes made by users will not be overwritten, they will cause
-% you trouble. You will be shown the differences between the edited and
-% the newly created file. We will try to merge our and your changes, but
-% that might not always work, and you will probably have to edit again.
-%
-% Therefore, if you want a smooth upgrade, please edit the files
-% in ${CNFDIR},
-% or create an additional one (with the extension '.cnf'),
-% and invoke update-texmf.
-%
-%%%
-
-EOF
-
-for i in ${CNFFILES}; do
- echo "%%% From file: $i" >> ${TMPTXMF}
- cat $i >> ${TMPTXMF}
- echo "%%% End of file: $i" >> ${TMPTXMF}
-done
-
-# now copy the file with historical md5sums into TMPDIR,
-# invoke ucf, and then remove the suggested texmf.cnf.
-cp -a ${MD5SUMS} ${TMPTXMF}.md5sum.d
-ucf --debconf-ok --three-way ${TMPTXMF} ${TXMF}/texmf.cnf
-if [ $DEBUG = true ]; then
- echo
- echo -n "Keeping temporary file ${TMPTXMF} ... "
-else
- rm -r ${TMPDIR}
-fi
-chmod 644 ${TXMF}/texmf.cnf
-
-if [ "${VERBOSE}" = "true" ]; then
- echo "done"
-fi
-
-#
-# Let vim know that we don't want tabs
-# vim:set expandtab: #
Deleted: tex-common/branches/v3/scripts/update-texmf.8
===================================================================
--- tex-common/branches/v3/scripts/update-texmf.8 2012-02-26 04:39:18 UTC (rev 5056)
+++ tex-common/branches/v3/scripts/update-texmf.8 2012-02-26 04:46:32 UTC (rev 5057)
@@ -1,45 +0,0 @@
-.TH UPDATE-TEXMF 8
-.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
-.\" other parms are allowed: see man(7), man(1)
-.SH NAME
-update-texmf \- shell script to generate /etc/texmf/texmf.cnf
-.SH SYNOPSIS
-.B update-texmf
-.I "[options]"
-.br
-.SH DESCRIPTION
-This manual page documents briefly the
-.BR update-texmf
-command.
-This manual page was written for the Debian GNU/Linux distribution
-because the original script was designed for Debian packaging system.
-.PP
-.B update-texmf
-is a shell script to generate /etc/texmf/texmf.cnf from files in
-/etc/texmf/texmf.d/*.cnf
-.PP
-The tex-common provides 05TeXMF.cnf to 95NonPath.cnf and we assume
-that other TeX related packages should use the name only with the lower cases.
-The two digit numeral determines the order in which update-texmf read a file.
-.PP
-A user who wants to customize /etc/texmf/texmf.cnf should add,
-for example, 22mymacro.cnf in /etc/texmf/texmf.d/ and run 'update-texmf'.
-Thanks to ucf(1) update-texmf will regard manual changes of
-/etc/texmf/texmf.cnf, however it is recommended to change the files in
-/etc/texmf/texmf.d/ and to generate /etc/texmf/texmf.cnf.
-.SH OPTIONS
-.TP
-.B \-v, --verbose
-Show verbose messages.
-.TP
-.B \-d, --debug
-Show debugging information, and don't delete temporary files. Implies
---verbose.
-.SH SEE ALSO
-.PP
-Further information can be found in
-/usr/share/doc/tex-common/README.Debian.{txt,pdf.html}
-.PP
-.SH AUTHOR
-This manual page was written by Atsuhito Kohda <kohda at debian.org>,
-for the Debian GNU/Linux system (but may be used by others).
More information about the Debian-tex-commits
mailing list