summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-04-29 18:42:43 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-04-29 18:42:43 +0000
commita7119158373ae98a8c4ec7af33fb28175d8bf3e3 (patch)
tree3a125abc0b597ca98c3c28f134559b854ecd9b9d
parentVersion bump. (diff)
downloadgentoo-2-a7119158373ae98a8c4ec7af33fb28175d8bf3e3.tar.gz
gentoo-2-a7119158373ae98a8c4ec7af33fb28175d8bf3e3.tar.bz2
gentoo-2-a7119158373ae98a8c4ec7af33fb28175d8bf3e3.zip
Version bump wrt #317795.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r--app-text/dvipdfmx/ChangeLog8
-rw-r--r--app-text/dvipdfmx/dvipdfmx-20100328.ebuild51
2 files changed, 58 insertions, 1 deletions
diff --git a/app-text/dvipdfmx/ChangeLog b/app-text/dvipdfmx/ChangeLog
index 18cfa1b6061c..4ec032353439 100644
--- a/app-text/dvipdfmx/ChangeLog
+++ b/app-text/dvipdfmx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/dvipdfmx
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/ChangeLog,v 1.51 2010/04/29 16:38:11 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/ChangeLog,v 1.52 2010/04/29 18:42:43 ssuominen Exp $
+
+*dvipdfmx-20100328 (29 Apr 2010)
+
+ 29 Apr 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +dvipdfmx-20100328.ebuild:
+ Version bump wrt #317795.
29 Apr 2010; Samuli Suominen <ssuominen@gentoo.org>
dvipdfmx-20050831.ebuild:
diff --git a/app-text/dvipdfmx/dvipdfmx-20100328.ebuild b/app-text/dvipdfmx/dvipdfmx-20100328.ebuild
new file mode 100644
index 000000000000..ca246f25f610
--- /dev/null
+++ b/app-text/dvipdfmx/dvipdfmx-20100328.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20100328.ebuild,v 1.1 2010/04/29 18:42:43 ssuominen Exp $
+
+EAPI=2
+inherit autotools eutils
+
+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/dvipdfm" DESTDIR="${D}" install || die
+ dosym /etc/texmf/dvipdfm/dvipdfmx.cfg /usr/share/texmf/dvipdfm/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() {
+ [[ ${ROOT} == / ]] && /usr/sbin/texmf-update
+}
+
+pkg_postrm() {
+ [[ ${ROOT} == / ]] && /usr/sbin/texmf-update
+}