diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-04-29 19:08:43 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-04-29 19:08:43 +0000 |
commit | e401b342cbe2bd2c3de1a3b892ca6502bdbac061 (patch) | |
tree | 6f9c1973abf10b602f6b929cfccc213c2b32b262 /app-text/dvipdfmx | |
parent | Version bump. (diff) | |
download | gentoo-2-e401b342cbe2bd2c3de1a3b892ca6502bdbac061.tar.gz gentoo-2-e401b342cbe2bd2c3de1a3b892ca6502bdbac061.tar.bz2 gentoo-2-e401b342cbe2bd2c3de1a3b892ca6502bdbac061.zip |
Fix dvipdfmx.cfg symlink to /usr/share/texmf/dvipdfmx from /usr/share/texmf/dvipdfm wrt #303124.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-text/dvipdfmx')
-rw-r--r-- | app-text/dvipdfmx/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/dvipdfmx/dvipdfmx-20100328-r1.ebuild | 51 |
2 files changed, 59 insertions, 1 deletions
diff --git a/app-text/dvipdfmx/ChangeLog b/app-text/dvipdfmx/ChangeLog index 4ec032353439..92e6d302bd0d 100644 --- a/app-text/dvipdfmx/ChangeLog +++ b/app-text/dvipdfmx/ChangeLog @@ -1,6 +1,13 @@ # 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.52 2010/04/29 18:42:43 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/ChangeLog,v 1.53 2010/04/29 19:08:43 ssuominen Exp $ + +*dvipdfmx-20100328-r1 (29 Apr 2010) + + 29 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> + +dvipdfmx-20100328-r1.ebuild: + Fix dvipdfmx.cfg symlink to /usr/share/texmf/dvipdfmx from + /usr/share/texmf/dvipdfm wrt #303124. *dvipdfmx-20100328 (29 Apr 2010) diff --git a/app-text/dvipdfmx/dvipdfmx-20100328-r1.ebuild b/app-text/dvipdfmx/dvipdfmx-20100328-r1.ebuild new file mode 100644 index 000000000000..584cf6636fd1 --- /dev/null +++ b/app-text/dvipdfmx/dvipdfmx-20100328-r1.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-r1.ebuild,v 1.1 2010/04/29 19:08: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/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() { + [[ ${ROOT} == / ]] && /usr/sbin/texmf-update +} + +pkg_postrm() { + [[ ${ROOT} == / ]] && /usr/sbin/texmf-update +} |