diff options
author | 2013-06-28 16:09:00 +0000 | |
---|---|---|
committer | 2013-06-28 16:09:00 +0000 | |
commit | d57be4be6099f8c64246be3fc8e00ad9b0938d33 (patch) | |
tree | 3f8f9213226baa766c79b5276d5fe8baef362784 /dev-texlive/texlive-context | |
parent | Bump to TeX Live 2013. (diff) | |
download | gentoo-2-d57be4be6099f8c64246be3fc8e00ad9b0938d33.tar.gz gentoo-2-d57be4be6099f8c64246be3fc8e00ad9b0938d33.tar.bz2 gentoo-2-d57be4be6099f8c64246be3fc8e00ad9b0938d33.zip |
Bump to TeX Live 2013.
(Portage version: 2.2.0_alpha185/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-texlive/texlive-context')
-rw-r--r-- | dev-texlive/texlive-context/ChangeLog | 8 | ||||
-rw-r--r-- | dev-texlive/texlive-context/files/luacnfspec2013.patch | 54 | ||||
-rw-r--r-- | dev-texlive/texlive-context/texlive-context-2013.ebuild | 70 |
3 files changed, 131 insertions, 1 deletions
diff --git a/dev-texlive/texlive-context/ChangeLog b/dev-texlive/texlive-context/ChangeLog index 22595982bb6e..034f1cd682a3 100644 --- a/dev-texlive/texlive-context/ChangeLog +++ b/dev-texlive/texlive-context/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-texlive/texlive-context # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-context/ChangeLog,v 1.72 2013/04/25 21:26:14 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-context/ChangeLog,v 1.73 2013/06/28 16:09:00 aballier Exp $ + +*texlive-context-2013 (28 Jun 2013) + + 28 Jun 2013; Alexis Ballier <aballier@gentoo.org> + +texlive-context-2013.ebuild, +files/luacnfspec2013.patch: + Bump to TeX Live 2013. 25 Apr 2013; Agostino Sarubbo <ago@gentoo.org> texlive-context-2012-r1.ebuild: Stable for sh, wrt bug #449298 diff --git a/dev-texlive/texlive-context/files/luacnfspec2013.patch b/dev-texlive/texlive-context/files/luacnfspec2013.patch new file mode 100644 index 000000000000..e55d3f43fd8c --- /dev/null +++ b/dev-texlive/texlive-context/files/luacnfspec2013.patch @@ -0,0 +1,54 @@ +We install texmfcnf.lua in a different location than TeX Live so default +heuristics fail. Help it. + +Index: work/texmf-dist/scripts/context/lua/mtxrun.lua +=================================================================== +--- work.orig/texmf-dist/scripts/context/lua/mtxrun.lua ++++ work/texmf-dist/scripts/context/lua/mtxrun.lua +@@ -12970,10 +12970,8 @@ if environment.default_texmfcnf then + else + resolvers.luacnfspec=concat ({ + "home:texmf/web2c", +- "selfautoparent:/texmf-local/web2c", +- "selfautoparent:/texmf-context/web2c", +- "selfautoparent:/texmf-dist/web2c", +- "selfautoparent:/texmf/web2c", ++ "selfautodir:local/share/texmf/web2c", ++ "selfautodir:share/texmf/web2c", + },";") + end + local unset_variable="unset" +Index: work/texmf-dist/scripts/context/stubs/unix/mtxrun +=================================================================== +--- work.orig/texmf-dist/scripts/context/stubs/unix/mtxrun ++++ work/texmf-dist/scripts/context/stubs/unix/mtxrun +@@ -12970,10 +12970,8 @@ if environment.default_texmfcnf then + else + resolvers.luacnfspec=concat ({ + "home:texmf/web2c", +- "selfautoparent:/texmf-local/web2c", +- "selfautoparent:/texmf-context/web2c", +- "selfautoparent:/texmf-dist/web2c", +- "selfautoparent:/texmf/web2c", ++ "selfautodir:local/share/texmf/web2c", ++ "selfautodir:share/texmf/web2c", + },";") + end + local unset_variable="unset" +Index: work/texmf-dist/tex/context/base/data-res.lua +=================================================================== +--- work.orig/texmf-dist/tex/context/base/data-res.lua ++++ work/texmf-dist/tex/context/base/data-res.lua +@@ -122,10 +122,8 @@ if environment.default_texmfcnf then + else + resolvers.luacnfspec = concat ( { + "home:texmf/web2c", +- "selfautoparent:/texmf-local/web2c", +- "selfautoparent:/texmf-context/web2c", +- "selfautoparent:/texmf-dist/web2c", +- "selfautoparent:/texmf/web2c", ++ "selfautodir:local/share/texmf/web2c", ++ "selfautodir:share/texmf/web2c", + }, ";") + end + diff --git a/dev-texlive/texlive-context/texlive-context-2013.ebuild b/dev-texlive/texlive-context/texlive-context-2013.ebuild new file mode 100644 index 000000000000..41b839bc661e --- /dev/null +++ b/dev-texlive/texlive-context/texlive-context-2013.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-context/texlive-context-2013.ebuild,v 1.1 2013/06/28 16:08:59 aballier Exp $ + +EAPI="5" + +TEXLIVE_MODULE_CONTENTS="context jmn context-account context-algorithmic context-bnf context-chromato context-construction-plan context-cyrillicnumbers context-degrade context-filter context-fixme context-french context-fullpage context-games context-gantt context-gnuplot context-letter context-lettrine context-lilypond context-mathsets context-notes-zh-cn context-rst context-ruby context-simplefonts context-simpleslides context-transliterator context-typearea context-typescripts context-vim collection-context +" +TEXLIVE_MODULE_DOC_CONTENTS="context.doc context-account.doc context-bnf.doc context-chromato.doc context-construction-plan.doc context-cyrillicnumbers.doc context-degrade.doc context-filter.doc context-french.doc context-fullpage.doc context-games.doc context-gantt.doc context-gnuplot.doc context-letter.doc context-lettrine.doc context-lilypond.doc context-mathsets.doc context-notes-zh-cn.doc context-rst.doc context-ruby.doc context-simplefonts.doc context-simpleslides.doc context-transliterator.doc context-typearea.doc context-typescripts.doc context-vim.doc " +TEXLIVE_MODULE_SRC_CONTENTS="" +inherit texlive-module +DESCRIPTION="TeXLive ConTeXt and packages" + +LICENSE=" BSD GPL-1 GPL-2 public-domain TeX-other-free " +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" +DEPEND=">=dev-texlive/texlive-basic-2013 +>=dev-texlive/texlive-latex-2010 +!<dev-texlive/texlive-latex-2010 +>=app-text/texlive-core-2010[xetex] +>=dev-texlive/texlive-metapost-2010 +" +RDEPEND="${DEPEND} dev-lang/ruby +" +PATCHES=( "${FILESDIR}/luacnfspec2013.patch" ) + +TL_CONTEXT_UNIX_STUBS="context luatools mtxrun texexec texmfstart" + +TEXLIVE_MODULE_BINSCRIPTS=" + texmf-dist/scripts/context/ruby/ctxtools.rb + texmf-dist/scripts/context/ruby/pstopdf.rb + texmf-dist/scripts/context/ruby/rlxtools.rb +" + +for i in ${TL_CONTEXT_UNIX_STUBS} ; do +TEXLIVE_MODULE_BINSCRIPTS="${TEXLIVE_MODULE_BINSCRIPTS} texmf-dist/scripts/context/stubs/unix/$i" +done + +# This small hack is needed in order to have a sane upgrade path: +# the new TeX Live 2009 metapost produces this file but it is not recorded in +# any package; when running fmtutil (like texmf-update does) this file will be +# created and cause collisions. + +pkg_setup() { + if [ -f "${ROOT}/var/lib/texmf/web2c/metapost/metafun.log" ]; then + einfo "Removing ${ROOT}/var/lib/texmf/web2c/metapost/metafun.log" + rm -f "${ROOT}/var/lib/texmf/web2c/metapost/metafun.log" + fi +} + +# These comes without +x bit set... +src_prepare() { + chmod +x texmf-dist/scripts/context/ruby/ctxtools.rb \ + texmf-dist/scripts/context/ruby/pstopdf.rb \ + texmf-dist/scripts/context/ruby/rlxtools.rb + + # No need to install these .exe + rm -rf texmf-dist/scripts/context/stubs/mswin || die + + base_src_prepare +} + +TL_MODULE_INFORMATION="For using ConTeXt mkII simply use 'texexec' to generate +your documents. +If you plan to use mkIV and its 'context' command to generate your documents, +you have to run 'luatools --generate' as normal user before first use. + +More information and advanced options on: +http://wiki.contextgarden.net/TeX_Live_2011" |