diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-10-23 14:12:26 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-10-23 14:12:26 +0000 |
commit | ca6cd87d18519c9e571cb00cdce5848aa68d458b (patch) | |
tree | 70542e6378ac96abf10cb6b79632bf9fba9b8451 /app-text | |
parent | p.masked =app-text/xdvik-22.84.3-r1 (diff) | |
download | historical-ca6cd87d18519c9e571cb00cdce5848aa68d458b.tar.gz historical-ca6cd87d18519c9e571cb00cdce5848aa68d458b.tar.bz2 historical-ca6cd87d18519c9e571cb00cdce5848aa68d458b.zip |
Added xdvik corresponding to tetex-2.96.
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/xdvik/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/xdvik/Manifest | 8 | ||||
-rw-r--r-- | app-text/xdvik/files/digest-xdvik-22.84.3-r1 | 2 | ||||
-rw-r--r-- | app-text/xdvik/xdvik-22.84.3-r1.ebuild | 107 |
4 files changed, 120 insertions, 4 deletions
diff --git a/app-text/xdvik/ChangeLog b/app-text/xdvik/ChangeLog index fd832cdee663..7d5f73a4e394 100644 --- a/app-text/xdvik/ChangeLog +++ b/app-text/xdvik/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/xdvik # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/ChangeLog,v 1.17 2004/10/17 01:59:48 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/ChangeLog,v 1.18 2004/10/23 14:12:26 usata Exp $ + +*xdvik-22.84.3-r1 (23 Oct 2004) + + 23 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> +xdvik-22.84.3-r1.ebuild: + Added xdvik corresponding to tetex-2.96. 17 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> -files/xdvik-22.40y-j1.17-vfontcap-gentoo.diff, -xdvik-22.40y-r1.ebuild, diff --git a/app-text/xdvik/Manifest b/app-text/xdvik/Manifest index be1cd157a07f..13823e2e02a0 100644 --- a/app-text/xdvik/Manifest +++ b/app-text/xdvik/Manifest @@ -1,6 +1,8 @@ -MD5 a004ed9b713edeb8ccce5a94280b4347 ChangeLog 2452 +MD5 4f51e61de982304b13a0e37f7d473170 ChangeLog 2604 MD5 e94683fd6e8552de7f9cc96d8c1110ec metadata.xml 432 -MD5 d69676088130d5f2e417448aa5c5332d xdvik-22.84.3.ebuild 3028 +MD5 6690f82ea5e3ee91356227b91aea1bbc xdvik-22.84.3-r1.ebuild 3064 MD5 48c2a1768ac79eb1695b7d254b0ee26a xdvik-22.40y-r2.ebuild 1673 -MD5 8244322292d75b9434e02ba69b404106 files/digest-xdvik-22.84.3 144 +MD5 d69676088130d5f2e417448aa5c5332d xdvik-22.84.3.ebuild 3028 +MD5 8244322292d75b9434e02ba69b404106 files/digest-xdvik-22.84.3-r1 144 MD5 ef28316e4f45cb7762b5ec33efe38f61 files/digest-xdvik-22.40y-r2 139 +MD5 8244322292d75b9434e02ba69b404106 files/digest-xdvik-22.84.3 144 diff --git a/app-text/xdvik/files/digest-xdvik-22.84.3-r1 b/app-text/xdvik/files/digest-xdvik-22.84.3-r1 new file mode 100644 index 000000000000..71ec20bb2146 --- /dev/null +++ b/app-text/xdvik/files/digest-xdvik-22.84.3-r1 @@ -0,0 +1,2 @@ +MD5 d8dd88ba3f1d8df4c153016e93771f5a xdvik-22.84.3.tar.gz 1899650 +MD5 1a9704b3adaf31c6c348e5d6915099fe xdvik-22.84.3-20040825-jp.diff.gz 117212 diff --git a/app-text/xdvik/xdvik-22.84.3-r1.ebuild b/app-text/xdvik/xdvik-22.84.3-r1.ebuild new file mode 100644 index 000000000000..db2f26211682 --- /dev/null +++ b/app-text/xdvik/xdvik-22.84.3-r1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.84.3-r1.ebuild,v 1.1 2004/10/23 14:12:26 usata Exp $ + +inherit eutils flag-o-matic + +IUSE="cjk libwww lesstif motif Xaw3d" + +XDVIK_JP="xdvik-${PV}-20040825-jp" + +DESCRIPTION="DVI previewer for X Window System" +SRC_URI="mirror://sourceforge/xdvi/${P}.tar.gz + cjk? ( mirror://sourceforge.jp/xdvi/11043/${XDVIK_JP}.diff.gz )" +HOMEPAGE="http://sourceforge.net/projects/xdvi/ + http://xdvi.sourceforge.jp/" + +KEYWORDS="~x86 ~alpha ~ppc ~sparc ~amd64 ~ppc64" +SLOT="0" +LICENSE="GPL-2" + +DEPEND=">=media-libs/t1lib-5.0.2 + virtual/x11 + motif? ( lesstif? ( x11-libs/lesstif ) + !lesstif? ( x11-libs/openmotif ) ) + !motif? ( Xaw3d? ( x11-libs/Xaw3d ) ) + libwww? ( >=net-libs/libwww-5.3.2-r1 ) + cjk? ( app-text/ptex + >=media-libs/freetype-2 + >=media-fonts/kochi-substitute-20030809-r3 ) + !cjk? ( virtual/tetex )" + +src_unpack () { + + unpack ${P}.tar.gz + if use cjk ; then + epatch ${DISTDIR}/${XDVIK_JP}.diff.gz + cat >>${S}/texk/xdvik/vfontmap.sample<<-EOF + + # TrueType fonts + min /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf + nmin /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf + goth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf + tmin /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf + tgoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf + ngoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf + jis /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf + jisg /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf + dm /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf + dg /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf + mgoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf + fmin /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf + fgoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf + EOF + fi +} + +src_compile () { + + local myconf toolkit + + if use cjk ; then + export CPPFLAGS="${CPPFLAGS} -I/usr/include/freetype2" + myconf="${myconf} --with-vflib=vf2ft" + fi + + if use motif ; then + if use lesstif ; then + append-ldflags -L/usr/X11R6/lib/lesstif -R/usr/X11R6/lib/lesstif + export CPPFLAGS="${CPPFLAGS} -I/usr/X11R6/include/lesstif" + fi + toolkit="motif" + elif use Xaw3d ; then + toolkit="xaw3d" + else + toolkit="xaw" + fi + + econf --disable-multiplatform \ + --with-system-t1lib \ + $(use_enable cjk freetype) \ + $(use_with libwww system-wwwlib) \ + --with-x-toolkit="${toolkit}" \ + ${myconf} || die "econf failed" + + cd texk/xdvik + make || die +} + +src_install () { + + dodir /etc/texmf/xdvi + + cd ${S}/texk/xdvik + einstall texmf=${D}/usr/share/texmf \ + || die "install failed" + + mv ${D}/usr/share/texmf/xdvi/{xdvi.cfg,XDvi} ${D}/etc/texmf/xdvi + dosym {/etc,/usr/share}/texmf/xdvi/xdvi.cfg + dosym {/etc,/usr/share}/texmf/xdvi/XDvi + + dodoc ANNOUNCE BUGS FAQ README.* + if use cjk; then + dodoc CHANGES.xdvik-jp + docinto READMEs + dodoc READMEs/* + fi +} |