summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Turk <satai@gentoo.org>2003-01-03 04:17:43 +0000
committerMatthew Turk <satai@gentoo.org>2003-01-03 04:17:43 +0000
commit5c39c00c397b2ee18ea2ce23dd26c7150dd64078 (patch)
treed28097e15e7d466b9b79ccfce8076203ab6afeef /app-text/tetex
parentClosing 11579. Added a line to allow dvips to recognize insecure mode. (diff)
downloadhistorical-5c39c00c397b2ee18ea2ce23dd26c7150dd64078.tar.gz
historical-5c39c00c397b2ee18ea2ce23dd26c7150dd64078.tar.bz2
historical-5c39c00c397b2ee18ea2ce23dd26c7150dd64078.zip
Generate missing format files following installation. Should fix jadetex
problems, among other things.
Diffstat (limited to 'app-text/tetex')
-rw-r--r--app-text/tetex/ChangeLog5
-rw-r--r--app-text/tetex/tetex-1.0.7-r11.ebuild22
2 files changed, 18 insertions, 9 deletions
diff --git a/app-text/tetex/ChangeLog b/app-text/tetex/ChangeLog
index 47c1eef646a2..81dbfa4372f9 100644
--- a/app-text/tetex/ChangeLog
+++ b/app-text/tetex/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/tetex
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.19 2003/01/03 03:53:38 satai Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.20 2003/01/03 04:17:43 satai Exp $
+
+ 02 Jan 2003; Matthew Turk <satai@gentoo.org> :
+ Added a fix to generate all missing format files upon installation.
02 Jan 2003; Matthew Turk <satai@gentoo.org> :
Added a fix to allow dvips to recognize when secure mode is turned off.
diff --git a/app-text/tetex/tetex-1.0.7-r11.ebuild b/app-text/tetex/tetex-1.0.7-r11.ebuild
index cad5ed0c52d9..3763e53ab91a 100644
--- a/app-text/tetex/tetex-1.0.7-r11.ebuild
+++ b/app-text/tetex/tetex-1.0.7-r11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r11.ebuild,v 1.8 2003/01/03 03:53:38 satai Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r11.ebuild,v 1.9 2003/01/03 04:17:43 satai Exp $
inherit flag-o-matic
@@ -62,13 +62,17 @@ src_unpack() {
# Fix problem where the *.fmt files are not generated due to the LaTeX
# source being older than a year.
- local x
- for x in `find ${S}/texmf/ -type f -name '*.ini'`
- do
- cp ${x} ${x}.orig
- sed -e '1i \\scrollmode' ${x}.orig > ${x}
- rm -f ${x}.orig
- done
+ #local x
+ #for x in `find ${S}/texmf/ -type f -name '*.ini'`
+ #do
+ #cp ${x} ${x}.orig
+ #sed -e '1i \\scrollmode' ${x}.orig > ${x}
+ #rm -f ${x}.orig
+ #done
+
+ # IMPORTANT! If you're having *.fmt problems, do this:
+ # fmtutil --all
+ # after the merge.
}
@@ -179,6 +183,8 @@ pkg_postinst() {
texconfig init &>/dev/null
texconfig confall &>/dev/null
texconfig font vardir /var/cache/fonts &>/dev/null
+ einfo "Generating format files..."
+ fmtutil --missing &>/dev/null # This should generate all missing fmt files.
echo
einfo "Use 'texconfig font rw' to allow all users to generate fonts."