summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-10-30 18:22:12 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-10-30 18:22:12 +0000
commit98fab3d4323eb03afdb40c3944b2c81e5a865642 (patch)
treee49f5b72a5489559fe42977f576eddd26d302584
parentarm stable, bug #342847 (diff)
downloadgentoo-2-98fab3d4323eb03afdb40c3944b2c81e5a865642.tar.gz
gentoo-2-98fab3d4323eb03afdb40c3944b2c81e5a865642.tar.bz2
gentoo-2-98fab3d4323eb03afdb40c3944b2c81e5a865642.zip
Install 09-texlive.conf for fontconfig, by dynamotwain@aim.com, bug #342695
(Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
-rw-r--r--dev-texlive/texlive-xetex/ChangeLog9
-rw-r--r--dev-texlive/texlive-xetex/files/09-texlive.conf7
-rw-r--r--dev-texlive/texlive-xetex/texlive-xetex-2010-r1.ebuild (renamed from dev-texlive/texlive-xetex/texlive-xetex-2010.ebuild)20
3 files changed, 33 insertions, 3 deletions
diff --git a/dev-texlive/texlive-xetex/ChangeLog b/dev-texlive/texlive-xetex/ChangeLog
index f41366d6ee70..c32e77971da3 100644
--- a/dev-texlive/texlive-xetex/ChangeLog
+++ b/dev-texlive/texlive-xetex/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-texlive/texlive-xetex
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-xetex/ChangeLog,v 1.36 2010/10/30 17:22:00 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-xetex/ChangeLog,v 1.37 2010/10/30 18:22:12 aballier Exp $
+
+*texlive-xetex-2010-r1 (30 Oct 2010)
+
+ 30 Oct 2010; Alexis Ballier <aballier@gentoo.org> +files/09-texlive.conf,
+ -texlive-xetex-2010.ebuild, +texlive-xetex-2010-r1.ebuild:
+ Install 09-texlive.conf for fontconfig, by dynamotwain@aim.com, bug
+ #342695
30 Oct 2010; Alexis Ballier <aballier@gentoo.org>
texlive-xetex-2010.ebuild:
diff --git a/dev-texlive/texlive-xetex/files/09-texlive.conf b/dev-texlive/texlive-xetex/files/09-texlive.conf
new file mode 100644
index 000000000000..f2f6ba2d1f89
--- /dev/null
+++ b/dev-texlive/texlive-xetex/files/09-texlive.conf
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <dir>/usr/share/texmf-dist/fonts/opentype</dir>
+ <dir>/usr/share/texmf-dist/fonts/truetype</dir>
+ <dir>/usr/share/texmf-dist/fonts/type1</dir>
+</fontconfig>
diff --git a/dev-texlive/texlive-xetex/texlive-xetex-2010.ebuild b/dev-texlive/texlive-xetex/texlive-xetex-2010-r1.ebuild
index 0ebed65fc00f..aee93c1165df 100644
--- a/dev-texlive/texlive-xetex/texlive-xetex-2010.ebuild
+++ b/dev-texlive/texlive-xetex/texlive-xetex-2010-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-xetex/texlive-xetex-2010.ebuild,v 1.2 2010/10/30 17:22:00 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-xetex/texlive-xetex-2010-r1.ebuild,v 1.1 2010/10/30 18:22:12 aballier Exp $
EAPI="3"
@@ -8,7 +8,7 @@ TEXLIVE_MODULE_CONTENTS="arabxetex euenc fontspec fontwrap harvardkyoto mathspec
"
TEXLIVE_MODULE_DOC_CONTENTS="arabxetex.doc euenc.doc fontspec.doc fontwrap.doc mathspec.doc philokalia.doc polyglossia.doc xecjk.doc xecolour.doc xecyr.doc xeindex.doc xepersian.doc xesearch.doc xetex.doc xetex-itrans.doc xetex-pstricks.doc xetexfontinfo.doc xltxtra.doc xunicode.doc "
TEXLIVE_MODULE_SRC_CONTENTS="arabxetex.source euenc.source fontspec.source philokalia.source polyglossia.source xecjk.source xltxtra.source "
-inherit texlive-module
+inherit font texlive-module
DESCRIPTION="TeXLive XeTeX packages"
LICENSE="GPL-2 Apache-2.0 as-is GPL-1 LPPL-1.3 OFL public-domain "
@@ -22,3 +22,19 @@ dev-texlive/texlive-latexextra
>=app-text/texlive-core-2010[xetex]
"
RDEPEND="${DEPEND} "
+FONT_CONF=( "${FILESDIR}"/09-texlive.conf )
+
+src_install() {
+ texlive-module_src_install
+ font_fontconfig
+}
+
+pkg_postinst() {
+ texlive-module_pkg_postinst
+ font_pkg_postinst
+}
+
+pkg_postrm() {
+ texlive-module_pkg_postrm
+ font_pkg_postrm
+}