* [gentoo-commits] gentoo-x86 commit in eclass: tetex-2.eclass
@ 2009-05-30 14:19 Ulrich Mueller (ulm)
0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2009-05-30 14:19 UTC (permalink / raw
To: gentoo-commits
ulm 09/05/30 14:19:48
Modified: tetex-2.eclass
Log:
Deprecate tetex-2.eclass since it is no longer used.
Revision Changes Path
1.7 eclass/tetex-2.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/tetex-2.eclass?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/tetex-2.eclass?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/tetex-2.eclass?r1=1.6&r2=1.7
Index: tetex-2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/tetex-2.eclass,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- tetex-2.eclass 1 Feb 2006 19:49:49 -0000 1.6
+++ tetex-2.eclass 30 May 2009 14:19:47 -0000 1.7
@@ -1,99 +1,2 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/tetex-2.eclass,v 1.6 2006/02/01 19:49:49 ehmsen Exp $
-#
-# Author: Jaromir Malenko <malenko@email.cz>
-# Author: Mamoru KOMACHI <usata@gentoo.org>
-# Author: Martin Ehmsen <ehmsen@gentoo.org>
-# Author: Alexandre Buisse <nattfodd@gentoo.org>
-#
-# A generic eclass to install tetex 2.0.x distributions.
-
-inherit tetex
-
-EXPORT_FUNCTIONS src_unpack src_install
-
-tetex-2_src_unpack() {
-
- tetex_src_unpack
-
- cd ${S}/texmf
-
- unpack ${TETEX_TEXMF_SRC}
-
- # create update script
- cat >${T}/texmf-update<<'EOF'
-#!/bin/bash
-#
-# Utility to update Gentoo teTeX distribution configuration files
-#
-
-PATH=/bin:/usr/bin
-
-for conf in texmf.cnf fmtutil.cnf updmap.cfg
-do
- if [ -d "/etc/texmf/${conf/.*/.d}" ]
- then
- echo "Generating /etc/texmf/web2c/${conf} from /etc/texmf/${conf/.*/.d} ..."
- cat /etc/texmf/${conf/.*/.d}/* > "/etc/texmf/web2c/${conf}"
- fi
-done
-
-# configure
-echo "Configuring teTeX ..."
-mktexlsr &>/dev/null
-texconfig init &>/dev/null
-texconfig confall &>/dev/null
-texconfig font rw &>/dev/null
-texconfig font vardir /var/cache/fonts &>/dev/null
-texconfig font options varfonts &>/dev/null
-updmap &>/dev/null
-
-# generate
-echo "Generating format files ..."
-fmtutil --missing &>/dev/null
-echo
-echo "Use 'texconfig font ro' to disable font generation for users"
-echo
-EOF
-
- # fix up misplaced listings.sty in the 2.0.2 archive.
- # this should be fixed in the next release <obz@gentoo.org>
- mv source/latex/listings/listings.sty tex/latex/listings/ || die
-
- # need to fix up the hyperref driver, see bug #31967
- sed -i -e "/providecommand/s/hdvips/hypertex/" \
- ${S}/texmf/tex/latex/config/hyperref.cfg || die
-}
-
-tetex-2_src_install() {
-
- tetex_src_install
-
- # bug #47004
- insinto /usr/share/texmf/tex/latex/a0poster
- doins ${S}/texmf/source/latex/a0poster/a0poster.cls || die
- doins ${S}/texmf/source/latex/a0poster/a0size.sty || die
-
- rm -f ${D}/usr/bin/texi2html
- rm -f ${D}/usr/share/man/man1/texi2html.1
-
- # bug #112164
- has_version 'sys-apps/texinfo' && rm -f ${D}/usr/bin/texi2pdf
-
- dodir /etc/env.d/
- echo 'CONFIG_PROTECT="/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/xdvi/"' > ${D}/etc/env.d/98tetex
-
- #fix for texlinks
- local src dst
- sed -e '/^#/d' -e '/^$/d' -e 's/^ *//' \
- ${D}/usr/share/texmf/web2c/fmtutil.cnf > ${T}/fmtutil.cnf || die
- while read l; do
- dst=/usr/bin/`echo $l | awk '{ print $1 }'`
- src=/usr/bin/`echo $l | awk '{ print $2 }'`
- if [ ! -f ${D}$dst -a "$dst" != "$src" ] ; then
- einfo "Making symlinks from $src to $dst"
- dosym $src $dst
- fi
- done < ${T}/fmtutil.cnf
-}
+# @DEAD
+ewarn "Please fix your package (${PF}) to not use ${ECLASS}.eclass"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-30 14:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-30 14:19 [gentoo-commits] gentoo-x86 commit in eclass: tetex-2.eclass Ulrich Mueller (ulm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox