Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37430914
en ru br
ALT Linux repos
D:3.0-alt1
5.0: 2.0-alt5
4.1: 2.0-alt4
4.0: 2.0-alt3
3.0: 2.0-alt2.1

Group :: Publishing
RPM: tetex

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: teTeX-tfmgen-alt.patch
Download


--- teTeX-src-beta-1.0.8/texk/tetex/allcm.orig	2002-07-07 20:52:21 +0300
+++ teTeX-src-beta-1.0.8/texk/tetex/allcm	2002-10-22 08:57:53 +0300
@@ -13,6 +13,8 @@
 # hack around a bug in zsh:
 test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
 
+DVIPS=dvips
+
 progname=`basename $0`
 
 case "$progname" in
@@ -22,15 +24,26 @@
     encoding=OT1;;
 esac
 
+while test -n "$1" ; do
 case "$1" in
   -r)
     DVIPS=dvired
     shift
     ;;
+  -n)
+    DONTRUNDVIPS=1
+    shift
+    ;;
+  -e)
+    shift
+    encoding=$1
+    shift
+    ;;
   *)
     DVIPS=dvips
     ;;
 esac
+done
 
 body()
 {
@@ -98,6 +111,7 @@
 latex allcm11 >/dev/null
 latex allcm12 >/dev/null
 
+if test -z "$DONTRUNDVIPS" ; then
 echo >&2
 echo "---------------------------------------------------------------------" >&2
 echo ">>>>>>>>>>>  Now, calling $DVIPS to make missing fonts...  <<<<<<<<<<" >&2
@@ -105,7 +119,7 @@
 $DVIPS ${1+"$@"} -f allcm10 > /dev/null
 $DVIPS ${1+"$@"} -f allcm11 > /dev/null
 $DVIPS ${1+"$@"} -f allcm12 > /dev/null
-
+fi
 cd /
 rm -f /tmp/tmp$$/*
 rmdir /tmp/tmp$$
--- teTeX-src-beta-1.0.8/texk/kpathsea/mktextfm.orig	2002-09-11 18:52:11 +0300
+++ teTeX-src-beta-1.0.8/texk/kpathsea/mktextfm	2002-10-22 08:43:25 +0300
@@ -123,6 +123,11 @@
 echo "$TFMDESTDIR/$TFMNAME" >$STDOUT
 echo "$progname: $TFMDESTDIR/$TFMNAME: successfully generated." >&2
 
+# This is a hack to build the TFM only
+if test -n "$MT_DONT_INSTALL_PK" ; then
+    exit 0
+fi
+
 # Since we probably made a GF(->PK) file, too, may as well install it if
 # it's needed.
 cd $TEMPDIR
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin