summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-02-08 12:48:53 +0000
committerMamoru Komachi <usata@gentoo.org>2005-02-08 12:48:53 +0000
commitdd92263010105315edab29db4ceeeaa0d079de35 (patch)
tree9bdbabfdb3a89369eeb8440b862fe20775906b7a /app-text/active-dvi
parentMarked stable on x86. (diff)
downloadgentoo-2-dd92263010105315edab29db4ceeeaa0d079de35.tar.gz
gentoo-2-dd92263010105315edab29db4ceeeaa0d079de35.tar.bz2
gentoo-2-dd92263010105315edab29db4ceeeaa0d079de35.zip
Version bumped. Ebuild submitted by Johannes Bruegmann <johannes@jottbee.org>; bug #76325.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-text/active-dvi')
-rw-r--r--app-text/active-dvi/ChangeLog9
-rw-r--r--app-text/active-dvi/Manifest4
-rw-r--r--app-text/active-dvi/active-dvi-1.4.0.ebuild4
-rw-r--r--app-text/active-dvi/active-dvi-1.6.0.ebuild110
-rw-r--r--app-text/active-dvi/files/digest-active-dvi-1.6.01
5 files changed, 124 insertions, 4 deletions
diff --git a/app-text/active-dvi/ChangeLog b/app-text/active-dvi/ChangeLog
index c203912f2f38..cf9ea75e1caa 100644
--- a/app-text/active-dvi/ChangeLog
+++ b/app-text/active-dvi/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/active-dvi
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/ChangeLog,v 1.8 2005/01/01 16:02:13 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/ChangeLog,v 1.9 2005/02/08 12:48:53 usata Exp $
+
+*active-dvi-1.6.0 (08 Feb 2005)
+
+ 08 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> active-dvi-1.4.0.ebuild,
+ +active-dvi-1.6.0.ebuild:
+ Version bumped. Ebuild submitted by Johannes Bruegmann
+ <johannes@jottbee.org>; bug #76325.
06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> active-dvi-1.4.0.ebuild:
Switch to use epause and ebeep, bug #62950
diff --git a/app-text/active-dvi/Manifest b/app-text/active-dvi/Manifest
index 453367e1dda2..1406339ab18f 100644
--- a/app-text/active-dvi/Manifest
+++ b/app-text/active-dvi/Manifest
@@ -1,4 +1,6 @@
+MD5 35a2201bb4cc6f5238ec0d92e8f1c9d0 active-dvi-1.4.0.ebuild 2502
MD5 c6d8d30ed0ed34c7e3536cb52573e546 ChangeLog 1055
-MD5 74f52473eed09afd0a525c11f3697193 active-dvi-1.4.0.ebuild 2414
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
+MD5 5cf9541f749ac6891dfac0aaa81e59a5 active-dvi-1.6.0.ebuild 2500
MD5 93c4ba321a1dbd54e7f85e41348902b7 files/digest-active-dvi-1.4.0 63
+MD5 19e79f54c9bde96f2b0fef9583555362 files/digest-active-dvi-1.6.0 61
diff --git a/app-text/active-dvi/active-dvi-1.4.0.ebuild b/app-text/active-dvi/active-dvi-1.4.0.ebuild
index d27dcd7ee020..5112e60cd7cc 100644
--- a/app-text/active-dvi/active-dvi-1.4.0.ebuild
+++ b/app-text/active-dvi/active-dvi-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/active-dvi-1.4.0.ebuild,v 1.8 2005/01/01 16:02:13 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/active-dvi-1.4.0.ebuild,v 1.9 2005/02/08 12:48:53 usata Exp $
inherit eutils
@@ -69,7 +69,7 @@ src_unpack() {
src_compile() {
- econf || die
+ econf --with-camlimages=/usr/lib/ocaml/site-packages/camlimages || die
emake || die
}
diff --git a/app-text/active-dvi/active-dvi-1.6.0.ebuild b/app-text/active-dvi/active-dvi-1.6.0.ebuild
new file mode 100644
index 000000000000..754b7634e4f6
--- /dev/null
+++ b/app-text/active-dvi/active-dvi-1.6.0.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/active-dvi-1.6.0.ebuild,v 1.1 2005/02/08 12:48:53 usata Exp $
+
+inherit eutils
+
+MY_PN=${PN/ctive-/}
+MY_P=${MY_PN}-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="A DVI previewer and a presenter for slides written in LaTeX"
+SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/${MY_PN}/${MY_P}.tgz"
+HOMEPAGE="http://pauillac.inria.fr/advi/"
+LICENSE="LGPL-2.1"
+
+IUSE="cjk tcltk"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=dev-lang/ocaml-3.04
+ >=dev-ml/camlimages-2.20
+ virtual/tetex
+ virtual/ghostscript"
+RDEPEND="${DEPEND}
+ cjk? ( media-fonts/kochi-substitute )"
+
+DOCS="README TODO"
+
+pkg_setup() {
+
+ # warn those who have USE="tcltk" but no ocaml tcltk support
+ # because we cant force ocaml to be build with tcltk.
+ if use tcltk; then
+ if [ ! -d /usr/lib/ocaml/labltk ]; then
+
+ echo ""
+ ewarn "You have requested tcltk support, but it appears"
+ ewarn "your ocaml wasnt compiled with tcltk support, "
+ ewarn "so it can't be included for active-dvi."
+ echo ""
+ ewarn "Please stop this build, and emerge ocaml with "
+ ewarn "USE=\"tcltk\" ocaml"
+ ewarn "before emerging active-dvi if you want tcltk support."
+ echo ""
+ # give the user some time to read this, but leave the
+ # choice up to them
+ epause 8
+
+ fi
+ fi
+
+}
+
+src_unpack() {
+
+ unpack ${A}
+ # need to remove texhash, it'll cause problems with
+ # the sandbox if we try and run it during emerge
+ sed -i -e "s/texhash//" ${S}/Makefile
+
+ if use cjk ; then
+ local fp=/usr/X11R6/lib/X11/fonts/truetype
+ sed -i -e "s%msmincho.ttc%${fp}/kochi-mincho-subst.ttf%g" \
+ -e "s%msgothic.ttc%${fp}/kochi-gothic-subst.ttf%g" \
+ ${S}/conf/jpfonts.conf
+ fi
+
+}
+
+src_compile() {
+
+ econf --with-camlimages=/usr/lib/ocaml/site-packages/camlimages || die
+ emake || die
+ #emake -j1 || emake -j1 || emake -j1 || die
+
+}
+
+src_install() {
+
+ TEXMFADVI=/usr/share/texmf/advi
+ dodir /usr/bin $TEXMFADVI
+ make MANDIR=${D}/usr/share/man/man1 \
+ ADVI_LOC=${D}/${TEXMFADVI} \
+ prefix=${D}/usr install || die
+
+ # only include the jpfonts.config if use cjk
+ use cjk || rm ${D}${TEXMFADVI}/jpfonts.conf
+
+ # now install the documentation
+ dodoc ${DOCS}
+ cd ${S}/doc
+ dohtml *.{jpg,gif,css,html}
+ dodoc manual.{dvi,pdf,ps}
+ # and the manual page
+ doman advi.1
+
+}
+
+pkg_postinst() {
+
+ if use cjk; then
+
+ echo ""
+ einfo "If you wish to use Japanese True Type fonts with"
+ einfo "active-dvi, please edit /usr/share/texmf/advi/jpfonts.conf"
+ echo ""
+
+ fi
+
+}
diff --git a/app-text/active-dvi/files/digest-active-dvi-1.6.0 b/app-text/active-dvi/files/digest-active-dvi-1.6.0
new file mode 100644
index 000000000000..f25281afe0eb
--- /dev/null
+++ b/app-text/active-dvi/files/digest-active-dvi-1.6.0
@@ -0,0 +1 @@
+MD5 da0e71cbc99a8def27873d4f3c756fa6 advi-1.6.0.tgz 11436152