Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: texlive-module.eclass
Date: Thu, 07 Jan 2010 19:17:03
Message-Id: E1NSxqn-0004Iu-Ba@stork.gentoo.org
1 aballier 10/01/07 19:16:53
2
3 Modified: texlive-module.eclass
4 Log:
5 build the formats after looking for jobs in the tlpkgs so that the AddFormat directive will work
6
7 Revision Changes Path
8 1.30 eclass/texlive-module.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.30&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.30&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?r1=1.29&r2=1.30
13
14 Index: texlive-module.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v
17 retrieving revision 1.29
18 retrieving revision 1.30
19 diff -u -r1.29 -r1.30
20 --- texlive-module.eclass 7 Jan 2010 19:13:01 -0000 1.29
21 +++ texlive-module.eclass 7 Jan 2010 19:16:52 -0000 1.30
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2008 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.29 2010/01/07 19:13:01 aballier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.30 2010/01/07 19:16:52 aballier Exp $
27
28 # @ECLASS: texlive-module.eclass
29 # @MAINTAINER:
30 @@ -172,16 +172,6 @@
31 # files for different packages in a single one used by the whole tex installation.
32
33 texlive-module_src_compile() {
34 - # Build format files
35 - for i in texmf/fmtutil/format*.cnf; do
36 - if [ -f "${i}" ]; then
37 - einfo "Building format ${i}"
38 - VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var"\
39 - env -u TEXINPUTS fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all\
40 - || die "failed to build format ${i}"
41 - fi
42 - done
43 -
44 # Generate config files
45 # TeX Live 2007 was providing lists. For 2008 they are now tlpobj.
46 for i in "${S}"/tlpkg/tlpobj/*;
47 @@ -215,6 +205,16 @@
48 esac
49 done
50
51 + # Build format files
52 + for i in texmf/fmtutil/format*.cnf; do
53 + if [ -f "${i}" ]; then
54 + einfo "Building format ${i}"
55 + VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var"\
56 + env -u TEXINPUTS fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all\
57 + || die "failed to build format ${i}"
58 + fi
59 + done
60 +
61 # Delete ls-R files, these should not be created but better be certain they
62 # do not end up being installed.
63 find . -name 'ls-R' -delete