summaryrefslogtreecommitdiff
path: root/print/advi
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2003-08-31 01:43:23 +0000
committerjtb <jtb@pkgsrc.org>2003-08-31 01:43:23 +0000
commitb0528832e6311580a1f6e1ad4137792b738f02e8 (patch)
treeb2808cd136697e386c7608751a007976cb6f6ce8 /print/advi
parentb273f834794ae761c6d85a25c860246a72eeaaaa (diff)
downloadpkgsrc-b0528832e6311580a1f6e1ad4137792b738f02e8.tar.gz
Initial import of advi.
Active-DVI is a DVI previewer and presenter written in Objective Caml (http://caml.inria.fr/ocaml/) with some eye candy effects for presentation, support for interactive demonstrations, and embedding of arbitrary applications within the presentation (hence the Active adjective of the presenter :). Active-DVI currently supports the following features: + Encapsulated Postscript File inclusion (using graphics package) + Effects for presentation (pause, delay, text color change) + Embedded applications for interactive demonstration + Pictures visualization via gpic specials + Display of inlined Postscript using gs + Font antialiasing that takes background colors into account + Page display is interrupted on user input + Resizing the page adjusts the magnification + Start displaying at a given page or at a given link reference + The file is reloading on signal SIGUSR1 + Hyperlinks + Active areas (execute an action when the mouse is over) + Background colors and images + Alpha blending for images
Diffstat (limited to 'print/advi')
-rw-r--r--print/advi/DESCR22
-rw-r--r--print/advi/MESSAGE17
-rw-r--r--print/advi/Makefile48
-rw-r--r--print/advi/PLIST42
-rw-r--r--print/advi/distinfo6
-rw-r--r--print/advi/patches/patch-aa12
-rw-r--r--print/advi/patches/patch-ab13
7 files changed, 160 insertions, 0 deletions
diff --git a/print/advi/DESCR b/print/advi/DESCR
new file mode 100644
index 00000000000..c5f98d7afef
--- /dev/null
+++ b/print/advi/DESCR
@@ -0,0 +1,22 @@
+Active-DVI is a DVI previewer and presenter written in Objective Caml
+(http://caml.inria.fr/ocaml/) with some eye candy effects for
+presentation, support for interactive demonstrations, and embedding of
+arbitrary applications within the presentation (hence the Active
+adjective of the presenter :).
+
+Active-DVI currently supports the following features:
+
++ Encapsulated Postscript File inclusion (using graphics package)
++ Effects for presentation (pause, delay, text color change)
++ Embedded applications for interactive demonstration
++ Pictures visualization via gpic specials
++ Display of inlined Postscript using gs
++ Font antialiasing that takes background colors into account
++ Page display is interrupted on user input
++ Resizing the page adjusts the magnification
++ Start displaying at a given page or at a given link reference
++ The file is reloading on signal SIGUSR1
++ Hyperlinks
++ Active areas (execute an action when the mouse is over)
++ Background colors and images
++ Alpha blending for images
diff --git a/print/advi/MESSAGE b/print/advi/MESSAGE
new file mode 100644
index 00000000000..f770c5b7308
--- /dev/null
+++ b/print/advi/MESSAGE
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2003/08/31 01:43:30 jtb Exp $
+
+IMPORTANT SECURITY NOTE:
+------------------------
+
+ActiveDVI may execute programs and commands embedded into the DVI
+file. Hence, when playing a DVI file from an untrusted source, you
+should run advi with the -safer option that inhibits the execution of
+embedded applications. This warning applies in particular if you
+choose ActiveDVI as your default meta-mail previewer for the
+application/x-dvi mime-type.
+
+The ActiveDVI manual in ${PREFIX}/share/doc/advi/ explains how to use
+the program securely.
+
+===========================================================================
diff --git a/print/advi/Makefile b/print/advi/Makefile
new file mode 100644
index 00000000000..f6b4cde2d55
--- /dev/null
+++ b/print/advi/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/31 01:43:23 jtb Exp $
+
+DISTNAME= advi-1.4.0
+CATEGORIES= print
+MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/cristal/advi/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://pauillac.inria.fr/advi/
+COMMENT= Active-DVI Presenter
+
+DEPENDS+= {teTeX-[0-9]*,teTeX2-[0-9]*}:../../print/teTeX
+
+USE_BUILDLINK2= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_X11= yes
+
+post-extract:
+ @${CP} ${WRKSRC}/tex/*.eps ${WRKSRC}/doc
+
+post-configure:
+ @for f in ${WRKSRC}/userfile.ml; do \
+ ${SED} -e 's:/etc/advirc:${PKG_SYSCONFDIR}/advirc:g' \
+ $$f >> $$f.tmp && ${MV} $$f.tmp $$f; \
+ done
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/advi
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} *.dvi *.ps *.pdf \
+ ${PREFIX}/share/doc/advi
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/advi
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.css *.jpg *.gif \
+ ${PREFIX}/share/doc/html/advi
+ cd ${PREFIX}/share/doc/html/advi && ${LN} -sf ../../advi/manual.* .
+ ${INSTALL_MAN} ${WRKSRC}/doc/advi.1 ${PREFIX}/man/man1
+
+.include "../../lang/ocaml/buildlink2.mk"
+.include "../../graphics/camlimages/buildlink2.mk"
+.include "../../x11/lablgtk/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/xpm/buildlink2.mk"
+.include "../../graphics/libungif/buildlink2.mk"
+.include "../../graphics/gdk-pixbuf/buildlink2.mk"
+.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../mk/ghostscript.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/advi/PLIST b/print/advi/PLIST
new file mode 100644
index 00000000000..5a41efb64be
--- /dev/null
+++ b/print/advi/PLIST
@@ -0,0 +1,42 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/31 01:43:26 jtb Exp $
+bin/advi
+man/man1/advi.1
+share/doc/advi/manual.dvi
+share/doc/advi/manual.pdf
+share/doc/advi/manual.ps
+share/doc/advi/mathmode.dvi
+share/doc/advi/splash.dvi
+share/doc/advi/splash.ps
+share/doc/html/advi/advi-j.jpg
+share/doc/html/advi/advi.jpg
+share/doc/html/advi/advilogo.anim.gif
+share/doc/html/advi/advilogo.gif
+share/doc/html/advi/bar.gif
+share/doc/html/advi/faq.html
+share/doc/html/advi/index-en.html
+share/doc/html/advi/index-fr.html
+share/doc/html/advi/index.html
+share/doc/html/advi/inria.gif
+share/doc/html/advi/manual.dvi
+share/doc/html/advi/manual.pdf
+share/doc/html/advi/manual.ps
+share/doc/html/advi/style.css
+share/texmf/tex/latex/advi/advi-annot.sty
+share/texmf/tex/latex/advi/advi-graphicx.sty
+share/texmf/tex/latex/advi/advi-slides.sty
+share/texmf/tex/latex/advi/advi.pro
+share/texmf/tex/latex/advi/advi.sty
+share/texmf/tex/latex/advi/advilogo.eps
+share/texmf/tex/latex/advi/argv.sty
+share/texmf/tex/latex/advi/bar.jpg.eps
+share/texmf/tex/latex/advi/bubble.sty
+share/texmf/tex/latex/advi/caml.eps
+share/texmf/tex/latex/advi/jpfonts.conf
+share/texmf/tex/latex/advi/splash.dvi
+share/texmf/tex/latex/advi/superpose.sty
+share/texmf/tex/latex/advi/xcolor.sty
+@unexec texhash
+@exec texhash
+@dirrm share/doc/html/advi
+@dirrm share/doc/advi
+@dirrm share/texmf/tex/latex/advi
diff --git a/print/advi/distinfo b/print/advi/distinfo
new file mode 100644
index 00000000000..bf15477e89c
--- /dev/null
+++ b/print/advi/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/31 01:43:26 jtb Exp $
+
+SHA1 (advi-1.4.0.tar.gz) = 580625328cb555bd97e8be3438d65fb396fc3457
+Size (advi-1.4.0.tar.gz) = 4390953 bytes
+SHA1 (patch-aa) = e75541089b7eb05b15b5ff8553a973edcce5e18d
+SHA1 (patch-ab) = 3d0f800d8eb48b5dbb339e09dc69548e886e00bc
diff --git a/print/advi/patches/patch-aa b/print/advi/patches/patch-aa
new file mode 100644
index 00000000000..712ef3aaefb
--- /dev/null
+++ b/print/advi/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/08/31 01:43:30 jtb Exp $
+
+--- events.c.orig 2003-08-18 23:51:17.000000000 +0100
++++ events.c 2003-08-18 23:51:40.000000000 +0100
+@@ -17,6 +17,7 @@
+ #include <caml/alloc.h>
+ #include <sys/types.h>
+ #include <sys/time.h>
++#include <unistd.h>
+ #ifdef HAS_SYS_SELECT_H
+ #include <sys/select.h>
+ #endif
diff --git a/print/advi/patches/patch-ab b/print/advi/patches/patch-ab
new file mode 100644
index 00000000000..90b3fbfad38
--- /dev/null
+++ b/print/advi/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/08/31 01:43:30 jtb Exp $
+
+--- doc/manual.tex.orig 2003-08-19 00:22:00.000000000 +0100
++++ doc/manual.tex 2003-08-19 00:20:21.000000000 +0100
+@@ -47,7 +47,7 @@
+ \advance \tmpdim by 4em
+ \begin{tabular}{c}
+ \box0 \\
+-\includegraphics[width=\the\tmpdim]{../tex/bar.jpg.eps}\\
++\includegraphics[width=\the\tmpdim]{bar.jpg.eps}\\
+ Reference manual\\
+ Version {\version}
+ \end{tabular}