summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/dvipdfmx')
-rw-r--r--app-text/dvipdfmx/ChangeLog10
-rw-r--r--app-text/dvipdfmx/dvipdfmx-20071115-r1.ebuild (renamed from app-text/dvipdfmx/dvipdfmx-20071115.ebuild)15
-rw-r--r--app-text/dvipdfmx/files/digest-dvipdfmx-20071115-r1 (renamed from app-text/dvipdfmx/files/digest-dvipdfmx-20071115)0
3 files changed, 19 insertions, 6 deletions
diff --git a/app-text/dvipdfmx/ChangeLog b/app-text/dvipdfmx/ChangeLog
index 1ff3fee38572..9871fd51b20e 100644
--- a/app-text/dvipdfmx/ChangeLog
+++ b/app-text/dvipdfmx/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-text/dvipdfmx
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/ChangeLog,v 1.34 2007/12/03 20:51:10 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/ChangeLog,v 1.35 2007/12/06 08:02:02 aballier Exp $
+
+*dvipdfmx-20071115-r1 (06 Dec 2007)
+
+ 06 Dec 2007; Alexis Ballier <aballier@gentoo.org>
+ -dvipdfmx-20071115.ebuild, +dvipdfmx-20071115-r1.ebuild:
+ install config file in /etc/texmf/dvipdfm/, rdepend on poppler-data and
+ symlink it from dvipdfmx cMap directory to allow it to find it; thanks to
+ Jie Luo <clotho67@gmail.com>, bug #201258
*dvipdfmx-20071115 (03 Dec 2007)
diff --git a/app-text/dvipdfmx/dvipdfmx-20071115.ebuild b/app-text/dvipdfmx/dvipdfmx-20071115-r1.ebuild
index a4c4026990a1..1b0e328d9fbe 100644
--- a/app-text/dvipdfmx/dvipdfmx-20071115.ebuild
+++ b/app-text/dvipdfmx/dvipdfmx-20071115-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20071115.ebuild,v 1.1 2007/12/03 20:51:10 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20071115-r1.ebuild,v 1.1 2007/12/06 08:02:02 aballier Exp $
inherit eutils
@@ -14,14 +14,14 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-RDEPEND="virtual/tex-base
+DEPEND="virtual/tex-base
virtual/ghostscript
>=media-libs/libpng-1.2.1
>=sys-libs/zlib-1.1.4
app-text/libpaper
!<app-text/texlive-core-2007-r10"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
+RDEPEND="${DEPEND}
+ app-text/poppler-data"
has_tetex_3() {
if has_version '>=app-text/tetex-3' || has_version '>=app-text/ptex-3.1.8' || has_version '>=app-text/texlive-core-2007' ; then
@@ -32,8 +32,13 @@ has_tetex_3() {
}
src_install() {
- emake DESTDIR="${D}" install || die
+ # Override dvipdfmx.cfg default installation location so that it is easy to
+ # modify it and it gets config protected. Symlink it from the old location.
+ emake configdatadir="/etc/texmf/dvipdfm" DESTDIR="${D}" install || die "make install failed"
+ dosym /etc/texmf/dvipdfm/dvipdfmx.cfg /usr/share/texmf/dvipdfm/dvipdfmx.cfg
+ # Symlink poppler-data cMap, bug #201258
+ dosym /usr/share/poppler/cMap /usr/share/texmf/fonts/cmap/cMap
dodoc AUTHORS ChangeLog README TODO
}
diff --git a/app-text/dvipdfmx/files/digest-dvipdfmx-20071115 b/app-text/dvipdfmx/files/digest-dvipdfmx-20071115-r1
index 7b2ec003cdc7..7b2ec003cdc7 100644
--- a/app-text/dvipdfmx/files/digest-dvipdfmx-20071115
+++ b/app-text/dvipdfmx/files/digest-dvipdfmx-20071115-r1