pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/advi Initial import of advi.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9b50cb224f33
branches:  trunk
changeset: 460507:9b50cb224f33
user:      jtb <jtb%pkgsrc.org@localhost>
date:      Sun Aug 31 01:43:23 2003 +0000

description:
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:

 print/advi/DESCR            |  22 ++++++++++++++++++++
 print/advi/MESSAGE          |  17 +++++++++++++++
 print/advi/Makefile         |  48 +++++++++++++++++++++++++++++++++++++++++++++
 print/advi/PLIST            |  42 +++++++++++++++++++++++++++++++++++++++
 print/advi/distinfo         |   6 +++++
 print/advi/patches/patch-aa |  12 +++++++++++
 print/advi/patches/patch-ab |  13 ++++++++++++
 7 files changed, 160 insertions(+), 0 deletions(-)

diffs (188 lines):

diff -r 6ca70154e1d9 -r 9b50cb224f33 print/advi/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/advi/DESCR  Sun Aug 31 01:43:23 2003 +0000
@@ -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 -r 6ca70154e1d9 -r 9b50cb224f33 print/advi/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/advi/MESSAGE        Sun Aug 31 01:43:23 2003 +0000
@@ -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 -r 6ca70154e1d9 -r 9b50cb224f33 print/advi/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/advi/Makefile       Sun Aug 31 01:43:23 2003 +0000
@@ -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@localhost
+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 -r 6ca70154e1d9 -r 9b50cb224f33 print/advi/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/advi/PLIST  Sun Aug 31 01:43:23 2003 +0000
@@ -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 -r 6ca70154e1d9 -r 9b50cb224f33 print/advi/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/advi/distinfo       Sun Aug 31 01:43:23 2003 +0000
@@ -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 -r 6ca70154e1d9 -r 9b50cb224f33 print/advi/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/advi/patches/patch-aa       Sun Aug 31 01:43:23 2003 +0000
@@ -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 -r 6ca70154e1d9 -r 9b50cb224f33 print/advi/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/advi/patches/patch-ab       Sun Aug 31 01:43:23 2003 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index