summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-10-11 14:43:08 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-10-11 14:43:08 +0000
commit853c0ce78cf33753d1603826178b6974ec441635 (patch)
tree46575bdc7a93bc357da73159d0db63d1ccf5679c /dev-texlive
parentAdd support for category/* in package.use. Handle ::overlay in package.* file... (diff)
downloadgentoo-2-853c0ce78cf33753d1603826178b6974ec441635.tar.gz
gentoo-2-853c0ce78cf33753d1603826178b6974ec441635.tar.bz2
gentoo-2-853c0ce78cf33753d1603826178b6974ec441635.zip
Install a better texmfcnf.lua so that context mark IV works out of the box, bug #381193
(Portage version: 2.2.0_alpha66/cvs/Linux x86_64)
Diffstat (limited to 'dev-texlive')
-rw-r--r--dev-texlive/texlive-basic/ChangeLog9
-rw-r--r--dev-texlive/texlive-basic/files/texmfcnflua.patch52
-rw-r--r--dev-texlive/texlive-basic/texlive-basic-2011-r1.ebuild27
3 files changed, 87 insertions, 1 deletions
diff --git a/dev-texlive/texlive-basic/ChangeLog b/dev-texlive/texlive-basic/ChangeLog
index 46a040289970..dff6e3d8a56f 100644
--- a/dev-texlive/texlive-basic/ChangeLog
+++ b/dev-texlive/texlive-basic/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-texlive/texlive-basic
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-basic/ChangeLog,v 1.52 2011/10/04 17:57:45 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-basic/ChangeLog,v 1.53 2011/10/11 14:43:08 aballier Exp $
+
+*texlive-basic-2011-r1 (11 Oct 2011)
+
+ 11 Oct 2011; Alexis Ballier <aballier@gentoo.org>
+ +texlive-basic-2011-r1.ebuild, +files/texmfcnflua.patch:
+ Install a better texmfcnf.lua so that context mark IV works out of the box,
+ bug #381193
04 Oct 2011; Jeroen Roovers <jer@gentoo.org> texlive-basic-2010.ebuild:
Stable for HPPA (bug #355085).
diff --git a/dev-texlive/texlive-basic/files/texmfcnflua.patch b/dev-texlive/texlive-basic/files/texmfcnflua.patch
new file mode 100644
index 000000000000..845245393ab4
--- /dev/null
+++ b/dev-texlive/texlive-basic/files/texmfcnflua.patch
@@ -0,0 +1,52 @@
+--- /usr/share/texmf/web2c/texmfcnf.lua 2011-06-06 07:28:45.000000000 -0400
++++ /usr/share/texmf/web2c/²texmfcnf.lua 2011-10-11 11:35:45.055483455 -0300
+@@ -30,7 +30,7 @@
+ -- most cases you can leve this one untouched. The built-in definition
+ -- permits relocation of the tree.
+ --
+- -- TEXMFCNF = "{selfautodir:,selfautoparent:}{,{/share,}/texmf{-local,}/web2c}"
++ -- TEXMFCNF = "selfautodir:/share/texmf/web2c"
+ --
+ -- more readable than "selfautoparent:{/texmf{-local,}{,/web2c},}}" is:
+ --
+@@ -44,14 +44,14 @@
+
+ -- only used for FONTCONFIG_PATH & TEXMFCACHE in TeX Live
+
+- TEXMFSYSVAR = "selfautoparent:texmf-var",
+- TEXMFVAR = "home:.texlive2011/texmf-var",
++ TEXMFSYSVAR = "selfautodir:/../var/lib/texmf",
++ TEXMFVAR = "home:.texlive/texmf-var",
+
+ -- We have only one cache path but there can be more. The first writable one
+ -- will be chosen but there can be more readable paths.
+
+ TEXMFCACHE = "$TEXMFSYSVAR;$TEXMFVAR",
+- TEXMFCONFIG = "home:.texlive2011/texmf-config",
++ TEXMFCONFIG = "home:.texlive/texmf-config",
+
+ -- I don't like this texmf under home and texmf-home would make more
+ -- sense. One never knows what installers put under texmf anywhere and
+@@ -62,14 +62,14 @@
+ -- entry. This makes the tex root relocatable.
+
+ TEXMFOS = "selfautodir:",
+- TEXMFSYSTEM = "selfautoparent:$SELFAUTOSYSTEM",
+- TEXMFMAIN = "selfautoparent:texmf",
+- TEXMFCONTEXT = "selfautoparent:texmf-dist",
+-
+- TEXMFLOCAL = texmflocal,
+- TEXMFSYSCONFIG = "selfautoparent:texmf-config",
+- TEXMFFONTS = "selfautoparent:texmf-fonts",
+- TEXMFPROJECT = "selfautoparent:texmf-project",
++ TEXMFSYSTEM = "selfautodir:/../$SELFAUTOSYSTEM",
++ TEXMFMAIN = "selfautodir:share/texmf",
++ TEXMFCONTEXT = "selfautodir:share/texmf-dist",
++
++ TEXMFLOCAL = "selfautodir:local/share/texmf",
++ TEXMFSYSCONFIG = "selfautodir:/../etc/texmf",
++ TEXMFFONTS = "selfautodir:share/texmf-dist",
++ TEXMFPROJECT = "selfautodir:share/texmf-dist",
+
+ TEXMFHOME = "home:texmf",
+ -- TEXMFHOME = os.name == "macosx" and "home:Library/texmf" or "home:texmf",
diff --git a/dev-texlive/texlive-basic/texlive-basic-2011-r1.ebuild b/dev-texlive/texlive-basic/texlive-basic-2011-r1.ebuild
new file mode 100644
index 000000000000..9e8caadef93b
--- /dev/null
+++ b/dev-texlive/texlive-basic/texlive-basic-2011-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-basic/texlive-basic-2011-r1.ebuild,v 1.1 2011/10/11 14:43:08 aballier Exp $
+
+EAPI="3"
+
+TEXLIVE_MODULE_CONTENTS="amsfonts bibtex cm dvipdfmx-def enctex etex etex-pkg glyphlist hyph-utf8 ifluatex ifxetex lua-alt-getopt luatex makeindex metafont mflogo mfware misc pdftex plain tcdialog tex texlive-msg-translations texlive-scripts collection-basic
+"
+TEXLIVE_MODULE_DOC_CONTENTS="amsfonts.doc bibtex.doc cm.doc enctex.doc etex.doc etex-pkg.doc hyph-utf8.doc ifluatex.doc ifxetex.doc lua-alt-getopt.doc luatex.doc makeindex.doc metafont.doc mflogo.doc mfware.doc pdftex.doc tcdialog.doc tex.doc texlive-scripts.doc "
+TEXLIVE_MODULE_SRC_CONTENTS="amsfonts.source hyph-utf8.source ifluatex.source ifxetex.source mflogo.source "
+inherit texlive-module
+DESCRIPTION="TeXLive Essential programs and files"
+
+LICENSE="GPL-2 as-is GPL-1 GPL-2 LPPL-1.3 OFL TeX "
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+DEPEND=">=dev-texlive/texlive-documentation-base-2011
+>=dev-tex/luatex-0.70
+!<app-text/texlive-core-2009
+!<dev-texlive/texlive-latex-2009
+!<dev-texlive/texlive-latexrecommended-2009
+!<dev-texlive/texlive-langcjk-2011
+"
+RDEPEND="${DEPEND} "
+PATCHES=( "${FILESDIR}/texmfcnflua.patch" )
+TEXLIVE_MODULE_BINSCRIPTS="texmf/scripts/simpdftex/simpdftex texmf/scripts/texlive/rungs.tlu"