diff options
author | Joshua Ross <joslwah@gentoo.org> | 2006-10-30 13:56:54 +0000 |
---|---|---|
committer | Joshua Ross <joslwah@gentoo.org> | 2006-10-30 13:56:54 +0000 |
commit | 3c215c6abe903afbee049b7b820ae6d005a7125e (patch) | |
tree | 1210d5ab7bfb7c13d5dc941015c660434cdd4169 /app-text/xetex | |
parent | Cleanup of old ebuilds. (diff) | |
download | gentoo-2-3c215c6abe903afbee049b7b820ae6d005a7125e.tar.gz gentoo-2-3c215c6abe903afbee049b7b820ae6d005a7125e.tar.bz2 gentoo-2-3c215c6abe903afbee049b7b820ae6d005a7125e.zip |
Fix more collisions and restrict to using tetex >= 3 for same reason.
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'app-text/xetex')
-rw-r--r-- | app-text/xetex/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/xetex/files/xetex-0.995-install.patch | 15 | ||||
-rw-r--r-- | app-text/xetex/xetex-0.995.ebuild | 19 |
3 files changed, 35 insertions, 6 deletions
diff --git a/app-text/xetex/ChangeLog b/app-text/xetex/ChangeLog index 4731f1887721..1fa705b305d4 100644 --- a/app-text/xetex/ChangeLog +++ b/app-text/xetex/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/xetex # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xetex/ChangeLog,v 1.6 2006/10/30 00:55:21 joslwah Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xetex/ChangeLog,v 1.7 2006/10/30 13:56:54 joslwah Exp $ + + 30 Oct 2006; Joshua <joslwah@gentoo.org> files/xetex-0.995-install.patch, + xetex-0.995.ebuild: + Move some hyphen files into site directory to avoid collision with + tetex. Removing collisions also requires use of tetex-3. 30 Oct 2006; Joshua <joslwah@gentoo.org> xetex-0.995.ebuild: Small update to fix collisions with tetex-3. diff --git a/app-text/xetex/files/xetex-0.995-install.patch b/app-text/xetex/files/xetex-0.995-install.patch index aa2f7530bce8..acb981fc1d33 100644 --- a/app-text/xetex/files/xetex-0.995-install.patch +++ b/app-text/xetex/files/xetex-0.995-install.patch @@ -1,5 +1,5 @@ ---- install-xetex 2006-08-23 03:41:00.000000000 +0800 -+++ install-xetex.gentoo 2006-10-28 18:15:12.000000000 +0800 +--- install-xetex 2006-10-30 13:09:09.795732198 +0800 ++++ install-xetex.gentoo 2006-10-30 13:09:27.064330965 +0800 @@ -30,9 +30,10 @@ if [ -L ${texbin} ]; then texbin=`readlink ${texbin}` @@ -21,3 +21,14 @@ if [ "x${texmflocal}" == "x" ]; then # if --var-value didn't work, try to find the definition in the texmf.cnf file CNF=`kpsewhich texmf.cnf` +@@ -74,8 +75,8 @@ + echo ${texmflocal}/web2c/xetex.pool >> ${filelist} + + # update kpathsearch databases because we've installed a bunch of stuff +-texhash ${texmflocal} ++#texhash ${texmflocal} + + # this will build the format files on the system where this script is run; + # for packaged binary installations, we must repeat this on the target +-sh ./rebuild-formats ++#sh ./rebuild-formats diff --git a/app-text/xetex/xetex-0.995.ebuild b/app-text/xetex/xetex-0.995.ebuild index fc2b8e63e0ef..c08812dccb76 100644 --- a/app-text/xetex/xetex-0.995.ebuild +++ b/app-text/xetex/xetex-0.995.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xetex/xetex-0.995.ebuild,v 1.3 2006/10/30 00:55:21 joslwah Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xetex/xetex-0.995.ebuild,v 1.4 2006/10/30 13:56:54 joslwah Exp $ inherit eutils @@ -13,8 +13,8 @@ SLOT="0" KEYWORDS="~ppc64 ~sparc" IUSE="" -RDEPEND="app-text/xdvipdfmx app-text/tetex" -DEPEND="app-text/tetex" +RDEPEND="app-text/xdvipdfmx >=app-text/tetex-3.0" +DEPEND=">=app-text/tetex-3.0" src_unpack() { unpack ${A} @@ -33,16 +33,29 @@ src_install() { # Need to softlink xelatex to xetex. cd ${D}/usr/bin ln -s xetex xelatex + mkdir -p ${D}usr/share/texmf-site/tex/generic + mv ${D}usr/share/texmf/tex/generic/hyphen ${D}usr/share/texmf-site/tex/generic + } pkg_preinst() { + pwd + cd ${S} + ln -sf ${D}usr/share/texmf-site/tex/generic/hyphen ${D}usr/share/texmf/tex/generic/hyphen + texhash "${D}usr/share/texmf" + sh ./rebuild-formats + + # And tidy up fmtutil's location. fmtutil=`kpsewhich --format="web2c files" fmtutil.cnf` if [ -L $fmtutil ] ; then fmtutil_real=`readlink "${fmtutil}"` mkdir -p ${D}`dirname "${fmtutil_real}"` mv "${D}${fmtutil}" "${D}${fmtutil_real}" fi + + rm ${D}usr/share/texmf/tex/generic/hyphen + } pkg_postinst() |