summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-04-28 14:58:44 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-04-28 14:58:44 +0000
commite9360d64a6fc54e9511b7964996ce61b03670217 (patch)
tree31dc87bae4cd18f4b38e16e76bc8e5dff4ee21fc /app-text
parentversion bump (diff)
downloadgentoo-2-e9360d64a6fc54e9511b7964996ce61b03670217.tar.gz
gentoo-2-e9360d64a6fc54e9511b7964996ce61b03670217.tar.bz2
gentoo-2-e9360d64a6fc54e9511b7964996ce61b03670217.zip
version bump
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/dvipdfmx/ChangeLog7
-rw-r--r--app-text/dvipdfmx/dvipdfmx-20110311.ebuild51
2 files changed, 57 insertions, 1 deletions
diff --git a/app-text/dvipdfmx/ChangeLog b/app-text/dvipdfmx/ChangeLog
index c860f7fe0d3c..ed211bf29083 100644
--- a/app-text/dvipdfmx/ChangeLog
+++ b/app-text/dvipdfmx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/dvipdfmx
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/ChangeLog,v 1.59 2011/02/08 17:57:57 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/ChangeLog,v 1.60 2011/04/28 14:58:44 aballier Exp $
+
+*dvipdfmx-20110311 (28 Apr 2011)
+
+ 28 Apr 2011; Alexis Ballier <aballier@gentoo.org> +dvipdfmx-20110311.ebuild:
+ version bump
08 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org>
dvipdfmx-20100328.ebuild:
diff --git a/app-text/dvipdfmx/dvipdfmx-20110311.ebuild b/app-text/dvipdfmx/dvipdfmx-20110311.ebuild
new file mode 100644
index 000000000000..7b72cb922477
--- /dev/null
+++ b/app-text/dvipdfmx/dvipdfmx-20110311.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20110311.ebuild,v 1.1 2011/04/28 14:58:44 aballier Exp $
+
+EAPI=2
+inherit autotools eutils texlive-common
+
+DESCRIPTION="DVI to PDF translator with multi-byte character support"
+HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/"
+SRC_URI="http://project.ktug.or.kr/${PN}/snapshot/latest/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="app-text/libpaper
+ media-libs/libpng
+ sys-libs/zlib
+ virtual/tex-base
+ app-text/libpaper"
+RDEPEND="${DEPEND}
+ >=app-text/poppler-0.12.3-r3
+ app-text/poppler-data"
+
+src_prepare() {
+ epatch "${FILESDIR}"/20090708-fix_file_collisions.patch
+ eautoreconf
+}
+
+src_install() {
+ # 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/dvipdfmx" DESTDIR="${D}" install || die
+ dosym /etc/texmf/dvipdfmx/dvipdfmx.cfg /usr/share/texmf/dvipdfmx/dvipdfmx.cfg || die
+
+ # Symlink poppler-data cMap, bug #201258
+ dosym /usr/share/poppler/cMap /usr/share/texmf/fonts/cmap/cMap || die
+ dodoc AUTHORS ChangeLog README || die
+
+ # Remove symlink conflicting with app-text/dvipdfm (bug #295235)
+ rm "${D}"/usr/bin/ebb
+}
+
+pkg_postinst() {
+ etexmf-update
+}
+
+pkg_postrm() {
+ etexmf-update
+}