diff options
author | Matthew Turk <satai@gentoo.org> | 2003-01-03 04:17:43 +0000 |
---|---|---|
committer | Matthew Turk <satai@gentoo.org> | 2003-01-03 04:17:43 +0000 |
commit | f913b3c24c4d74a17f85d6a464c5372ac4c338d8 (patch) | |
tree | 5d44bb96a6c98448911afe4c821f034aed8fbcd2 /app-text/tetex | |
parent | Closing 11579. Added a line to allow dvips to recognize insecure mode. (diff) | |
download | gentoo-2-f913b3c24c4d74a17f85d6a464c5372ac4c338d8.tar.gz gentoo-2-f913b3c24c4d74a17f85d6a464c5372ac4c338d8.tar.bz2 gentoo-2-f913b3c24c4d74a17f85d6a464c5372ac4c338d8.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/ChangeLog | 5 | ||||
-rw-r--r-- | app-text/tetex/tetex-1.0.7-r11.ebuild | 22 |
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." |