diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-11-19 11:50:03 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-11-19 11:50:03 +0000 |
commit | a809282544b6a98cf4e1ed137c20055804df8579 (patch) | |
tree | e6739c6a108b9b15c5e1a4b3131321956f3d4473 /app-text | |
parent | Added app-text/xdvik:neXt; bug #71249. (diff) | |
download | historical-a809282544b6a98cf4e1ed137c20055804df8579.tar.gz historical-a809282544b6a98cf4e1ed137c20055804df8579.tar.bz2 historical-a809282544b6a98cf4e1ed137c20055804df8579.zip |
Version bumped and added neXt USE flag. Thanks to Dmitry S. Kulyabov <dharma@mx.pfu.edu.ru>; bug #71249.
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/xdvik/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/xdvik/Manifest | 22 | ||||
-rw-r--r-- | app-text/xdvik/files/digest-xdvik-22.84.5 | 2 | ||||
-rw-r--r-- | app-text/xdvik/xdvik-22.84.5.ebuild | 120 |
4 files changed, 146 insertions, 6 deletions
diff --git a/app-text/xdvik/ChangeLog b/app-text/xdvik/ChangeLog index f6f5ac906591..a509d1add959 100644 --- a/app-text/xdvik/ChangeLog +++ b/app-text/xdvik/ChangeLog @@ -1,6 +1,12 @@ # 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.20 2004/10/24 15:38:02 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/ChangeLog,v 1.21 2004/11/19 11:50:03 usata Exp $ + +*xdvik-22.84.5 (19 Nov 2004) + + 19 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> +xdvik-22.84.5.ebuild: + Version bumped and added neXt USE flag. Thanks to Dmitry S. Kulyabov + <dharma@mx.pfu.edu.ru>; bug #71249. 25 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> xdvik-22.40y-r2.ebuild: Updated kochi-substitute's font path. diff --git a/app-text/xdvik/Manifest b/app-text/xdvik/Manifest index 6ac0d2137568..b61ed96ce020 100644 --- a/app-text/xdvik/Manifest +++ b/app-text/xdvik/Manifest @@ -1,8 +1,20 @@ -MD5 a8e60eed5c23bc4a9a04dc6967be8e1a xdvik-22.84.3.ebuild 2951 -MD5 b2604282531e669844b1833d651ba15a xdvik-22.40y-r2.ebuild 1782 -MD5 0d8151735fac894776a7737e75d26299 ChangeLog 2908 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 e94683fd6e8552de7f9cc96d8c1110ec metadata.xml 432 MD5 ff2c9ec7b22575b7c18ce3bf6f76e874 xdvik-22.84.3-r1.ebuild 3204 -MD5 8244322292d75b9434e02ba69b404106 files/digest-xdvik-22.84.3 144 -MD5 8244322292d75b9434e02ba69b404106 files/digest-xdvik-22.84.3-r1 144 +MD5 b2604282531e669844b1833d651ba15a xdvik-22.40y-r2.ebuild 1782 +MD5 94fd4b4b3c342f55aa6451b4dcb8640f ChangeLog 3120 +MD5 a8e60eed5c23bc4a9a04dc6967be8e1a xdvik-22.84.3.ebuild 2951 +MD5 2227c4a74a7f50528f483b2fc88d3164 xdvik-22.84.5.ebuild 3557 +MD5 2957e3b202cbb3d7a5dc43a68ffd2ef0 files/digest-xdvik-22.84.5 144 MD5 ef28316e4f45cb7762b5ec33efe38f61 files/digest-xdvik-22.40y-r2 139 +MD5 8244322292d75b9434e02ba69b404106 files/digest-xdvik-22.84.3-r1 144 +MD5 8244322292d75b9434e02ba69b404106 files/digest-xdvik-22.84.3 144 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (Darwin) + +iD8DBQFBnd32VWNWqTUmv+0RAkhtAJ9Irj2uIe0cLDt1wYE9wAdv+hp+PACfTDfM +jxS3lyToYEKBNhJM2knl9eY= +=z+pz +-----END PGP SIGNATURE----- diff --git a/app-text/xdvik/files/digest-xdvik-22.84.5 b/app-text/xdvik/files/digest-xdvik-22.84.5 new file mode 100644 index 000000000000..800826af0935 --- /dev/null +++ b/app-text/xdvik/files/digest-xdvik-22.84.5 @@ -0,0 +1,2 @@ +MD5 5180b6ba158f29e9880549d18fe8381d xdvik-22.84.5.tar.gz 1902252 +MD5 af4869cfe65ae0b01d41a02871410223 xdvik-22.84.5-20041106-jp.diff.gz 123863 diff --git a/app-text/xdvik/xdvik-22.84.5.ebuild b/app-text/xdvik/xdvik-22.84.5.ebuild new file mode 100644 index 000000000000..33313db86702 --- /dev/null +++ b/app-text/xdvik/xdvik-22.84.5.ebuild @@ -0,0 +1,120 @@ +# 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.5.ebuild,v 1.1 2004/11/19 11:50:03 usata Exp $ + +inherit eutils flag-o-matic elisp-common + +IUSE="cjk libwww lesstif motif neXt Xaw3d emacs" + +XDVIK_JP="${P}-20041106-jp" + +DESCRIPTION="DVI previewer for X Window System" +SRC_URI="mirror://sourceforge/xdvi/${P}.tar.gz + cjk? ( mirror://sourceforge.jp/xdvi/12134/${XDVIK_JP}.diff.gz )" +HOMEPAGE="http://sourceforge.net/projects/xdvi/ + http://xdvi.sourceforge.jp/" + +KEYWORDS="~x86 ~alpha ~ppc ~sparc ~amd64 ~ppc64 ~ppc-macos" +SLOT="0" +LICENSE="GPL-2" + +DEPEND=">=media-libs/t1lib-5.0.2 + virtual/x11 + motif? ( lesstif? ( x11-libs/lesstif ) + !lesstif? ( x11-libs/openmotif ) ) + !motif? ( neXt? ( x11-libs/neXtaw ) + !neXt? ( 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 TEXMF_PATH=$(kpsewhich --expand-var='$TEXMFMAIN') + 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 neXt ; then + toolkit="neXtaw" + elif use Xaw3d ; then + toolkit="xaw3d" + else + toolkit="xaw" + fi + + econf --disable-multiplatform \ + --enable-t1lib \ + --enable-gf \ + --with-system-t1lib \ + $(use_enable cjk freetype) \ + $(use_with libwww system-wwwlib) \ + --with-x-toolkit="${toolkit}" \ + ${myconf} || die "econf failed" + + cd texk/xdvik + make texmf=${TEXMF_PATH} || die + use emacs && elisp-compile xdvi-search.el +} + +src_install () { + + dodir /etc/texmf/xdvi /etc/X11/app-defaults + + local TEXMF_PATH=$(kpsewhich --expand-var='$TEXMFMAIN') + + cd ${S}/texk/xdvik + einstall texmf=${D}${TEXMF_PATH} || die "install failed" + + mv ${D}${TEXMF_PATH}/xdvi/XDvi ${D}etc/X11/app-defaults + dosym {/etc/X11/app-defaults,${TEXMF_PATH}}/XDvi + for i in $(find ${D}${TEXMF_PATH}/xdvi -type f -maxdepth 1) ; do + mv $i ${D}etc/texmf/xdvi + dosym {/etc/texmf,${TEXMF_PATH}}/xdvi/$(basename $i) + done + + dodoc ANNOUNCE BUGS FAQ README.* + if use cjk; then + dodoc CHANGES.xdvik-jp + docinto READMEs + dodoc READMEs/* + fi + + use emacs && elisp-install tex-utils *.el *.elc +} |