pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print TEX_FORMAT_NAMES is no longer used.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e73a24dfed0
branches:  trunk
changeset: 609965:9e73a24dfed0
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Oct 14 18:12:37 2012 +0000

description:
TEX_FORMAT_NAMES is no longer used.

diffstat:

 print/kpathsea/texmf.mk                         |   6 ++--
 print/texlive-tetex/files/format-deinstall.tmpl |  32 +------------------------
 print/texlive-tetex/files/format-install.tmpl   |  12 +--------
 print/texlive-tetex/format.mk                   |   5 +---
 4 files changed, 6 insertions(+), 49 deletions(-)

diffs (118 lines):

diff -r 62525e38c5ff -r 9e73a24dfed0 print/kpathsea/texmf.mk
--- a/print/kpathsea/texmf.mk   Sun Oct 14 18:06:49 2012 +0000
+++ b/print/kpathsea/texmf.mk   Sun Oct 14 18:12:37 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: texmf.mk,v 1.5 2012/03/04 01:03:59 minskim Exp $
+# $NetBSD: texmf.mk,v 1.6 2012/10/14 18:12:37 minskim Exp $
 #
 # This Makefile fragment is intended to be included by packages that
 # install TeX packages.  It rebuilds the ls-R databases at
@@ -41,8 +41,8 @@
 DEINSTALL_TEMPLATES+=  ../../print/kpathsea/files/config-deinstall.tmpl
 .  endif
 
-.if !empty(TEX_FORMATS) || !empty(TEX_FORMAT_NAMES)
-.  include "../../print/texlive-tetex/format.mk"
+.if !empty(TEX_FORMATS)
+.  include "../../print/tex-tetex/format.mk"
 .endif
 .if !empty(TEX_HYPHEN_DAT) || !empty(TEX_HYPHEN_DEF)
 .  include "../../print/texlive-tetex/hyphen.mk"
diff -r 62525e38c5ff -r 9e73a24dfed0 print/texlive-tetex/files/format-deinstall.tmpl
--- a/print/texlive-tetex/files/format-deinstall.tmpl   Sun Oct 14 18:06:49 2012 +0000
+++ b/print/texlive-tetex/files/format-deinstall.tmpl   Sun Oct 14 18:12:37 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: format-deinstall.tmpl,v 1.7 2012/07/23 19:17:40 jperkin Exp $
+# $NetBSD: format-deinstall.tmpl,v 1.8 2012/10/14 18:12:37 minskim Exp $
 #
 # Delete format files.
 #
@@ -32,36 +32,6 @@
                        @RM@ -f @VARBASE@/lib/texmf/web2c/$texengine/$format.log
                done
        fi
-       format_names="@FORMAT_NAMES@"
-       for f in $format_names ; do
-               @CAT@ @PREFIX@/share/texmf/fmtutil/format.$f.cnf |
-               @GREP@ "^[^#]" |
-               while read format engine junk; do
-                 ${GREP} -v "^${format}[[:space:]][[:space:]]*${engine}[[:space:]]" ${FMTUTIL_CNF} > \
-                       ${FMTUTIL_CNF}.tmp &&
-                 ${MV} ${FMTUTIL_CNF}.tmp ${FMTUTIL_CNF}
-                 case "$engine" in
-                   mpost)
-                     if [ "$format" = "mpost" ]; then
-                       fmtfile="mp*.mem"
-                     else
-                       fmtfile="$format.mem"
-                     fi
-                     texengine=metapost
-                     ;;
-                   mf*)
-                     fmtfile="$format.base"
-                     texengine=metafont
-                     ;;
-                   *)
-                     fmtfile="$format.fmt"
-                     texengine=$engine
-                     ;;
-                 esac
-                       @RM@ -f @VARBASE@/lib/texmf/web2c/$texengine/$fmtfile
-                       @RM@ -f @VARBASE@/lib/texmf/web2c/$texengine/$format.log
-               done
-       done
        @FIND@ @VARBASE@/lib/texmf -depth -type d -exec @RMDIR@ {} \; 2>/dev/null
        @MKTEXLSR@ @VARBASE@/lib/texmf
         ;;
diff -r 62525e38c5ff -r 9e73a24dfed0 print/texlive-tetex/files/format-install.tmpl
--- a/print/texlive-tetex/files/format-install.tmpl     Sun Oct 14 18:06:49 2012 +0000
+++ b/print/texlive-tetex/files/format-install.tmpl     Sun Oct 14 18:12:37 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: format-install.tmpl,v 1.4 2010/01/29 19:59:47 minskim Exp $
+# $NetBSD: format-install.tmpl,v 1.5 2012/10/14 18:12:37 minskim Exp $
 #
 # Create format files.
 #
@@ -15,16 +15,6 @@
                        @FMTUTIL_SYS@ --byfmt $format
                done
        fi
-       format_names="@FORMAT_NAMES@"
-       for f in $format_names ; do
-               ${GREP} -v "^#" @PREFIX@/share/texmf/fmtutil/format.$f.cnf |
-               ${GREP} "...." >> ${FMTUTIL_CNF}
-               @CAT@ @PREFIX@/share/texmf/fmtutil/format.$f.cnf |
-               @GREP@ "^[^#]" |
-               while read format engine junk; do
-                       @FMTUTIL_SYS@ --byfmt $format
-               done
-       done
        @MKTEXLSR@ @VARBASE@/lib/texmf
         ;;
 *)
diff -r 62525e38c5ff -r 9e73a24dfed0 print/texlive-tetex/format.mk
--- a/print/texlive-tetex/format.mk     Sun Oct 14 18:06:49 2012 +0000
+++ b/print/texlive-tetex/format.mk     Sun Oct 14 18:12:37 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: format.mk,v 1.5 2010/01/29 19:59:47 minskim Exp $
+# $NetBSD: format.mk,v 1.6 2012/10/14 18:12:37 minskim Exp $
 #
 # This Makefile fragment is intended to be included by packages that
 # install TeX format files.  It creates format files at
@@ -8,8 +8,6 @@
 #
 #    TEX_FORMATS - A list of parameters to build formats
 #
-#    TEX_FORMAT_NAMES (for TeX Live 2008 only) - A list of format names.
-#
 
 .if !defined(TEX_FORMAT_MK)
 TEX_FORMAT_MK=         # defined
@@ -18,7 +16,6 @@
 
 EVAL_PREFIX+=          TETEX_PREFIX=texlive-tetex
 FILES_SUBST+=          FMTUTIL_SYS=${TETEX_PREFIX:Q}/bin/fmtutil-sys
-FILES_SUBST+=          FORMAT_NAMES=${TEX_FORMAT_NAMES:Q}
 FILES_SUBST+=          FORMATS=${TEX_FORMATS:Q}
 FILES_SUBST+=          PRINTF=${PRINTF:Q}
 INSTALL_TEMPLATES+=    ../../print/texlive-tetex/files/format-install.tmpl



Home | Main Index | Thread Index | Old Index