--- advi-1.6.0.orig/debian/advi.manpages +++ advi-1.6.0/debian/advi.manpages @@ -0,0 +1 @@ +doc/advi.1 --- advi-1.6.0.orig/debian/dirs +++ advi-1.6.0/debian/dirs @@ -0,0 +1,4 @@ +etc/advi +usr/bin +usr/share/man/man1 +usr/share/texmf/tex --- advi-1.6.0.orig/debian/rules +++ advi-1.6.0/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/ocaml/ocamlvars.mk +OCAML_HAVE_OPTOPT ?= $(if $(wildcard /usr/bin/ocamlopt.opt),yes,no) +DH := dh --with quilt --with tex + +PACKAGE := advi +VERSION := 1.6.0 +DIRS_TO_BACKUP := doc test + +%: + $(DH) $@ + +.PHONY: override_dh_auto_clean +override_dh_auto_clean: + [ ! -f Makefile.config ] || $(MAKE) veryclean +ifneq ($(wildcard backup),) + for u in $(DIRS_TO_BACKUP); do \ + if [ -d backup/$$u ]; then rm -Rf $$u; mv backup/$$u .; fi; \ + done + rm -Rf backup +endif + +.PHONY: override_dh_auto_configure +override_dh_auto_configure: +ifeq ($(wildcard backup),) + mkdir backup + for u in $(DIRS_TO_BACKUP); do cp -a $$u backup; done +endif + dh_auto_configure + +.PHONY: override_dh_auto_build +override_dh_auto_build: + $(MAKE) dep +ifeq ($(OCAML_HAVE_OPTOPT),yes) + @echo "Building the native code version with the native compilers" + $(MAKE) HAVE_OPT=".opt" bin + touch opt-built-stamp +else ifeq ($(OCAML_HAVE_OCAMLOPT),yes) + @echo "Building the native code version" + $(MAKE) HAVE_OPT="" bin + touch opt-built-stamp +else + @echo "Building the bytecode version" + $(MAKE) byt +endif + $(MAKE) doc + $(MAKE) -C examples +# We don't compile test as this would make advi-examples depend on +# ocaml-base-nox-$(OCAML_ABI), and make the whole package not +# binNMU-able + +.PHONY: override_dh_auto_install +override_dh_auto_install: doc/advi.1 + if [ -e opt-built-stamp ]; then \ + $(MAKE) installbin DESTDIR=$(CURDIR)/debian/advi; \ + else \ + $(MAKE) installbyt DESTDIR=$(CURDIR)/debian/advi \ + INSTALLTARGET=advi; \ + fi + echo "-cache-dir ~/.advi-cache" >> $(CURDIR)/debian/advi/etc/advirc + +.PHONY: override_dh_installexamples +override_dh_installexamples: + dh_installexamples -X.log -X.aux -X.out + -cd debian/advi-examples/usr/share/doc/advi-examples/examples/seminar/a14/fig && \ + rm -f *.png *.gif + -cd debian/advi-examples/usr/share/doc/advi-examples/examples/ && \ + gunzip seminar/clock/*.eps.gz + +.PHONY: override_dh_compress +override_dh_compress: + dh_compress -X.eps -X.mp3 -X.ppm -X.ml -X.ps + +.PHONY: override_dh_fixperms +override_dh_fixperms: + dh_fixperms +# Files forgotten by dh_fixperms because they are examples + -cd debian/advi-examples/usr/share/doc/advi-examples/examples && \ + chmod -f 0644 \ + test/music.mp3 \ + prosper/LL/pdfrotate.pl \ + basics/alltt.sty \ + test/mmm.anim.gif + +doc/advi.1: doc_src/advi.man + sed 's/$$version/$(VERSION)/' $< > $@ --- advi-1.6.0.orig/debian/gbp.conf +++ advi-1.6.0/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +pristine-tar = True +upstream-branch = sid/upstream +debian-branch = sid/master --- advi-1.6.0.orig/debian/control +++ advi-1.6.0/debian/control @@ -0,0 +1,64 @@ +Source: advi +Section: tex +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: + Ralf Treinen , + Remi Vanicat , + Stefano Zacchiroli , + Sylvain Le Gall , + Samuel Mimram , + Stephane Glondu +DM-Upload-Allowed: yes +Build-Depends: + debhelper (>= 7.0.52), + quilt (>= 0.46-7), + dh-ocaml, + tex-common (>= 1.15), + texlive, + texlive-pictures, + texlive-pstricks, + texlive-latex-extra, + ocaml, + libcamlimages-ocaml-dev, + zlib1g-dev, + ocaml-best-compilers, + hevea, + x11proto-core-dev, + libx11-dev, + libxinerama-dev +Standards-Version: 3.8.2 +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/advi.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/advi.git +Homepage: http://pauillac.inria.fr/advi/ + +Package: advi +Architecture: any +Depends: ${shlibs:Depends}, texlive-base-bin, texlive-base +Suggests: ttf-kochi-gothic, ttf-kochi-mincho, bzip2 +Replaces: mldvi, activedvi +Description: an active DVI previewer and presenter + Active-DVI is a DVI previewer and presenter written in Objective Caml + 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 does not (yet) support postscript fonts (see the README.Debian for + more details). + . + Active-DVI also has the ability to run embedded commands, which may cause + security problems when viewing untrusted DVI files. Make sure to read the + README.Debian for more information. + +Package: advi-examples +Architecture: all +Depends: texlive-latex-base, advi, imagemagick +Conflicts: advi (<< 1.6.0-4) +Suggests: ttf-kochi-gothic, ttf-kochi-mincho, ocaml-base-nox, mpg321, tk8.4, xterm +Description: example presentations for Active-DVI (advi) + Active-DVI is a DVI previewer and presenter written in Objective Caml + 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 :). + . + This package contains example presentations for Active-DVI. --- advi-1.6.0.orig/debian/changelog +++ advi-1.6.0/debian/changelog @@ -0,0 +1,459 @@ +advi (1.6.0-14) unstable; urgency=low + + [ Ralf Treinen ] + * Added Homepage field to debian/control file + + [ Sylvain Le Gall ] + * Update my email address + + [ Stephane Glondu ] + * debian/control: + - clean up Uploaders and add myself there + - add DM-Upload-Allowed + - replace obsolete build-dep on x-dev (Closes: #515364) + - remove dependencies on obsolete packages gs, xbase-clients + - add build-dependency on dh-ocaml + - update Standards-Version to 3.8.2 + * debian/rules: + - rewrite from scratch using dh, bump debhelper compatibility to 7 + - do not compile and install ML examples in advi-examples, as they + are ABI-dependent and make advi not binNMU-able + - install examples more consistently + - install manual in binary package advi + - use dh_installtex and drop debian/post{inst,rm}; add versioned + dependency to tex-common + * Switch packaging to git + * Switch patches to quilt, add README.source + * Add a patch to fix build with recent camlimages (Closes: #534020) + * Fix typo in changelog (s/adress/address/) (thanks Lintian) + * Switch debian/copyright to new format + + -- Stephane Glondu Mon, 13 Jul 2009 23:13:47 +0200 + +advi (1.6.0-13) unstable; urgency=low + + * Clean enough so that package can be built twice in a row, closes: #424084. + * Build-depend on texlive instead of tetex, closes: #433584. + * Added failed-tests.dpatch to remove tests which don't compile anymore with + texlive. + * Don't ignore errors on make clean. + + -- Samuel Mimram Wed, 18 Jul 2007 15:10:38 +0200 + +advi (1.6.0-12) unstable; urgency=low + + * Remove inactive people from the Uploaders field. + * Build with ocamlc instead of ocamlopt on arm to fix build failure. + + -- Julien Cristau Thu, 21 Dec 2006 00:23:24 +0100 + +advi (1.6.0-11) unstable; urgency=high + + * High-urgency upload to fix FTBFS. + + [ Julien Cristau ] + * Remove obsolete debian/TODO and debian/doc-base.old. + * Update watch file to match advi-*.tgz in addition to advi-*.tar.gz. + * Apply patch by Franz Küster: + + [patches/doc_build.dpatch] Make the documentation build again (closes: + #398695) + - Call imagen explicitly, and use \PassOptionsToPackage instead of + \def\driver + - In TeX input files, do not specify the extension (.eps) for included + images. This is not needed, and since dvipdfm cannot include eps + files, it failed. + - Set TEXINPUTS for dvipdfm, too + + [patches/build.dpatch,links] Fix configure script to allow for multiple + TEXMF trees. TeX input files are installed in TEXMFMAIN, and no link + will be created (closes: #398922) + + [rules] Install the manual subdirectory in the advi package, not the + examples package (closes: #398920) + * Remove the advi.bin.1.gz symlink, as we don't install advi.bin anymore. + + [ Ralf Treinen ] + * Weaken dependencies to allow for texlive instead of tetex + (closes: Bug#388435). + + [ Samuel Mimram ] + * Update standards version to 3.7.2, no changes needed. + + -- Samuel Mimram Thu, 23 Nov 2006 21:23:47 +0000 + +advi (1.6.0-10) unstable; urgency=low + + * Remove work-around against debhelper bug: use -X.aux instead of -X\\.aux, + etc. Closes: #359302. + * Corrected typos in TODO.Debian, closes: #286452. + + -- Samuel Mimram Tue, 28 Mar 2006 20:54:03 +0000 + +advi (1.6.0-9) unstable; urgency=low + + * Change the use of conditionals in debian/rules to be compatible with older + make (Closes: #349776). Thanks, Christian T. Steigies! + + -- Julien Cristau Fri, 27 Jan 2006 11:22:51 +0100 + +advi (1.6.0-8) unstable; urgency=low + + [ Samuel Mimram ] + * Adapt the build targets to the new patch. + * Updated doc_build.dpatch to correctly install the man pages. + + [ Julien Cristau ] + * Modify debian/rules to try not to build a broken package, and fail if + there is an error in the build process. + + -- Samuel Mimram Tue, 24 Jan 2006 22:26:18 +0000 + +advi (1.6.0-7) unstable; urgency=low + + * Rebuild for ocaml 3.09.1. + * Don't build-dep on xlibs-dev, use x-dev, libx11-dev and libxinerama-dev + instead (Closes: #346608). + * Add myself and Samuel Mimram to Uploaders. + * Update to CVS HEAD as of 20060103, and rediff existing patches. + * Updated standards version to 3.6.2, no changes needed. + + -- Julien Cristau Sat, 21 Jan 2006 15:07:38 +0100 + +advi (1.6.0-6) unstable; urgency=high + + * Patch examples-makefiles-texinputs: fix TEXINPUTS variable in various + Makefiles in examples/ such advi styles are found even when the advi + package is not installed. Fixes FTBFS. (Closes: #307919). + * Fixed some typos in description, rephrased short and long descriptions a + bit (closes: #286454). + + -- Ralf Treinen Fri, 6 May 2005 20:51:05 +0200 + +advi (1.6.0-5) unstable; urgency=low + + * Split off examples and manual in their own package (Closes: #233322). + This includes slight patching for proper include file references; + also a xanim call is replaced by an animate call. + * Add README.Debian for the examples package to explain above changes + and the fact that the video is not included in the example. + * Mention licences of style files included in the examples-package + * Don't try to build HTML pages + * Use ~/.advi as cache for the examples + * Don't try to build man page, use prebuild one + * Add support for bz2-files into zadvi (Closes: #286458). + * Link man page of advi to zadvi and address this in the man page, this + makes lintian and linda happy as well (Closes: #286453). + * Numerous improvements for the man page, addresses #286456. The following + sub-items are taken care off: a) d) f) g) h) i) j) l) o) + + -- Helge Kreutzmann Sat, 29 Jan 2005 17:08:09 +0100 + +advi (1.6.0-4) unstable; urgency=low + + * Backing up pagemovement patch again, since it broke scaling. + Reopens #245847. + + -- Sven Luther Fri, 10 Dec 2004 15:59:21 +0100 + +advi (1.6.0-3) unstable; urgency=low + + * Added doc/advi.1 manpage installation, thanks to Helge Kreutzmann + for this. (Closes: #278806) + * Fixed page movement after scaling, thanks to Yamagata Yoriyuki for + this. (Closes: #245847) + + -- Sven Luther Sun, 28 Nov 2004 12:36:45 +0100 + +advi (1.6.0-2) unstable; urgency=low + + * Forgot to upgrade the camlimages build-dependency, which caused a FTBFS + because of the Image -> Images module renaming. Fixed now. + + -- Sven Luther Sat, 23 Oct 2004 21:47:16 +0200 + +advi (1.6.0-1) unstable; urgency=low + + * New upstream release. + - Now includes man page. (Closes: #264797, #277778) + - Exiting scratch mode is possible with q (S mode) or ESC and then qs + (s mode). (Closes: #274383) + - Segfault with #257855 provided .dvi file fixed. (Closes: #257855) + + -- Sven Luther Thu, 21 Oct 2004 10:55:13 +0200 + +advi (1.5.2+cvs-2004.07.27-5) unstable; urgency=high + + * Now removes .depend in the debian/rules clean target, Allows to build on + architecture whose buildd need to use sudo instead of fakeroot. + + -- Sven Luther Mon, 6 Sep 2004 16:37:47 +0200 + +advi (1.5.2+cvs-2004.07.27-4) unstable; urgency=high + + * Now create dep makefile target in addition to .depend, and explicitly call + this one, should really (Closes: #265212, #269536). + + -- Sven Luther Fri, 3 Sep 2004 09:36:15 +0200 + +advi (1.5.2+cvs-2004.07.27-3) unstable; urgency=high + + * Added explicit make .depend to avoid some strange .depend to be included + from random places. Thanks to Julien Cristau and Samuel Mimram for + investigating this. (Closes: #265212, #269536) + + -- Sven Luther Thu, 12 Aug 2004 12:05:24 +0200 + +advi (1.5.2+cvs-2004.07.27-2) unstable; urgency=medium + + * Changed build from using .opt compilers if they are available only. + * Added dependency on ocaml-best-compilers. + + -- Sven Luther Sun, 8 Aug 2004 16:43:29 +0200 + +advi (1.5.2+cvs-2004.07.27-1) unstable; urgency=low + + * Used latest CVS version, as 1.4.0 doesn't build with ocaml 3.08. (Closes: #250046) + - Background enhancement with specification of the geometry and colors. + - Added an HTML version of the manual with the help of HeVeA and Luc Maranget. + - Change the background command execution order: + 1) Solid background first, + 2) Then apply the gradient function, + 3) Then draw the image. + This way you can use an (alpha blended) image on a gradient + - Long time standing bug of set_title has been fixed: the Active-DVI window + is now allocated by the Window Manager with the expected correct name. + - Introducing page timing dump to designated files for synchronisation purposes. + * Rebuilt for ocaml 3.08. + * Rebuild against libtiff4. (Closes: #262785) + * Removed installation of the doc dir. + + -- Sven Luther Mon, 2 Aug 2004 11:23:46 +0200 + +advi (1.4.0-7) unstable; urgency=low + + * Correction of the veryclean problem : + - patch the build before cleaning + - clean + - unpatch + (Really close 225723) + * Backup a set of files in order to have a proper diff. + * Move advi.bin to advi and the script shell advi to zadvi + ( closes: #227267) -- sorry for the mess + + -- Sylvain LE GALL Thu, 8 Jan 2004 15:03:36 +0100 + +advi (1.4.0-6) unstable; urgency=low + + * Only copy files that need to be seen in doc ( remove trash from + latex compilation ) ( closes: #185415 ) + * Register index.html in doc-base ( closes: #185413 ) + * Strip a little the rules ( just basic comment ) + * Correct .gz .bz2 file support ( closes: #210851 ) : + - Install advi as advi.bin + - Use a rewriten patch provided by S. Zacchiroli + * Install test, examples && Makefile.config in /usr/share/doc/advi/examples + ( closes: #218055 ) + * Applied the patch provided by Stefano for correcting the + tilde expansion ( cache_dir ) ( closes: #210855 ) + * Move from DH_COMPAT to compat file + * Remove conffiles since /etc/ files are automatically marked as conffiles + * Set Maintainer to Debian OCaml Maintainers and uploaders to all of them ;-) + + -- Sylvain LE GALL Wed, 7 Jan 2004 14:15:00 +0100 + +advi (1.4.0-5) unstable; urgency=low + + * Fixed dpatchification in debian/rules. One patch was affecting the clean + target, and thus broke the build. (Closes: #225723) + + -- Sven Luther Thu, 1 Jan 2004 10:39:29 +0100 + +advi (1.4.0-4) unstable; urgency=low + + * Rebuilt for ocaml 3.07. (Closes: #219545) + * Dpatchified. + + -- Sven Luther Mon, 15 Dec 2003 16:31:13 +0100 + +advi (1.4.0-3) unstable; urgency=low + + * Enabled native built on ia64, as the problems seems to have been worked + around. + + -- Sven Luther Sun, 16 Feb 2003 21:50:36 +0100 + +advi (1.4.0-2) unstable; urgency=low + + * Fixed the documentation fix :((( + * Added gs dependency and build dependency, needed for showing ps graphics. + + -- Sven Luther Sat, 15 Feb 2003 21:35:47 +0100 + +advi (1.4.0-1) unstable; urgency=low + + * New upstream release. + * Fixed documentation build problem and now also ship .ps and .pdf docs. + (Closes: #149564) + * The exam.cls problem does not appear in this version. (Closes: #180087) + + -- Sven Luther Sat, 15 Feb 2003 13:44:28 +0100 + +advi (1.2.0-6) unstable; urgency=low + + * Create cache dir in ~/.advi-cache. (Closes: #144464) + + -- Sven Luther Mon, 23 Dec 2002 19:16:47 +0100 + +advi (1.2.0-5) unstable; urgency=low + + * Now also ship the Announce file. (Closes: #164299) + * Now use ttf-kochi-gothic and ttf-kochi-mincho free font packages instead + of the Microsoft ones provided as upstream default. (Closes: #173027) + + -- Sven Luther Mon, 16 Dec 2002 23:31:07 +0100 + +advi (1.2.0-4) unstable; urgency=low + + * Apparently the ia64 fix in 1.2.0-2 did not work, fixed it correctly this + time, i hope. + + -- Sven Luther Fri, 08 Nov 2002 22:57:37 +0100 + +advi (1.2.0-3) unstable; urgency=low + + * Added missing zlib1g-dev Build-dependency. (Closes: #167619) + + -- Sven Luther Wed, 06 Nov 2002 03:04:34 +0100 + +advi (1.2.0-2) unstable; urgency=low + + * Disabled the native code built on ia64, since ocamlopt has a problem on + ia64 with big arrays. (Closes: #164653) + * Removed again te config.ml target, since it would cause running + ./configure even during the clean target. (Closes: #164342) + + -- Sven Luther Mon, 28 Oct 2002 14:36:23 +0100 + +advi (1.2.0-1) unstable; urgency=low + + * New upstream release. + * Now don't build depend on libpng2 anymore, since we build depend on + camlimages which has the libpng dependency. (Closes: #144086) + + -- Sven Luther Wed, 09 Oct 2002 18:18:43 +0200 + +advi (1.0.0+cvs-2002.03.26-7) unstable; urgency=high + + * Added tetex-bin dependency (for /usr/bin/kpsewhich). + (Closes: Bug#145299) + + -- Sven Luther Thu, 2 May 2002 12:51:11 +0200 + +advi (1.0.0+cvs-2002.03.26-6) unstable; urgency=high + + * Removed the config.ml target, since it would cause running ./configure + even during the clean target. We do ./configure anyway at the right time, + so this was not needed. (Closes: Bug#144236) (trully this time). + + -- Sven Luther Tue, 30 Apr 2002 12:51:59 +0200 + +advi (1.0.0+cvs-2002.03.26-5) unstable; urgency=high + + * Removed copying of config.sub/config.guess during the clean target. + (Closes: Bug#144236) + + -- Sven Luther Wed, 24 Apr 2002 09:30:03 +0200 + +advi (1.0.0+cvs-2002.03.26-4) unstable; urgency=high + + * Fixed clear command crash (Closes: Bug#141043). + + -- Sven Luther Sat, 20 Apr 2002 14:59:28 +0200 + +advi (1.0.0+cvs-2002.03.26-3) unstable; urgency=high + + * Moved jpfonts.conf to /etc/advi. + * Fixed the path configuration issue : + now find jpfonts.conf correctly (Closes: Bug#139578). + and also the splash.dvi file (Closes: Bug#141043). + + -- Sven Luther Sat, 13 Apr 2002 01:09:43 +0200 + +advi (1.0.0+cvs-2002.03.26-2) unstable; urgency=high + + * Added missing build dependencies (tetex-extra) (Closes: Bug#141438) + + -- Sven Luther Sat, 13 Apr 2002 01:09:43 +0200 + +advi (1.0.0+cvs-2002.03.26-1) unstable; urgency=high + + * Updated to CVS version, to solve the problem of executing embedded + commands by default. + * Added missing build dependencies (Closes: Bug#138129) + * PS fonts are not supported (Bug#138157 retrograded to whishlist priority). + I added a warning in the description and in the README.Debian files. + + -- Sven Luther Wed, 27 Mar 2002 11:45:42 +0100 + +advi (1.0.0-1) unstable; urgency=low + + * New upstream release. + + -- Sven Luther Sun, 24 Feb 2002 15:37:58 +0100 + +activedvi (0.3.1-3) unstable; urgency=low + + * Don't strip mldvi executable (Closes: Bug#133568) + + -- Sven Luther Thu, 21 Feb 2002 17:37:32 +0100 + +activedvi (0.3.1-2) unstable; urgency=low + + * Fixed the manpage. + + -- Sven Luther Fri, 25 Jan 2002 13:42:10 +0100 + +activedvi (0.3.1-1) unstable; urgency=low + + * Renamed package. + * Now based on ActiveDVI by Jun Furuse. + + -- Sven Luther Fri, 25 Jan 2002 12:23:38 +0100 + +mldvi (1.0-6) unstable; urgency=low + + * added xlibs-dev to build depends. + * closes #108849. + + -- Sven Luther Thu, 16 Aug 2001 10:23:10 +0200 + +mldvi (1.0-5) unstable; urgency=low + + * added some build dependencies. + * closes #108388. + + -- Sven Luther Wed, 15 Aug 2001 11:52:00 +0200 + +mldvi (1.0-4) unstable; urgency=low + + * rebuilt with ocaml 3.02. + * installed man page correctly. + + -- Sven Luther Mon, 30 Jul 2001 20:20:13 +0200 + +mldvi (1.0-3) unstable; urgency=low + + * stripping ocaml binaries does not work, disabled it. + + -- Sven Luther Fri, 19 May 2000 12:42:08 +0200 + +mldvi (1.0-2) unstable; urgency=low + + * Fixed build problem for m68k. + * Recompiled for ocaml 3.00. + + -- Sven Luther Fri, 12 May 2000 17:40:33 +0200 + +mldvi (1.0-1) unstable; urgency=low + + * Initial Release. + + -- Sven Luther Thu, 23 Mar 2000 18:13:05 +0100 --- advi-1.6.0.orig/debian/advi-examples.examples +++ advi-1.6.0/debian/advi-examples.examples @@ -0,0 +1,3 @@ +examples/* +test +Makefile.config --- advi-1.6.0.orig/debian/compat +++ advi-1.6.0/debian/compat @@ -0,0 +1 @@ +7 --- advi-1.6.0.orig/debian/README.source +++ advi-1.6.0/debian/README.source @@ -0,0 +1,28 @@ +advi Debian source package +========================== + +Patching upstream sources +------------------------- + +This source package uses quilt to apply and remove its patches. Please +refer to `/usr/share/doc/quilt/README.source' for information about +how to use quilt for source packages. + +The quilt series is generated from the Git repository, using +dom-{apply,save}-patches, from the dh-ocaml (>= 0.4.2) package. Please +refer to the appendix about Git in the Debian OCaml Packaging Policy +(from the same package). + + -- Stephane Glondu , Sun, 12 Jul 2009 15:40:44 +0200 + + +Git repository +-------------- + +The branches sid/{upstream,master} have been created from the 1.6.0-13 +Debian release, because a new upstream version had already been +imported into the repository, but is not yet ready, and bugs needed to +be fixed in sid before. Commits not specific to the new upstream +version have been cherry-picked into sid/master. + + -- Stephane Glondu , Sun, 12 Jul 2009 15:46:36 +0200 --- advi-1.6.0.orig/debian/advi-examples.README.Debian +++ advi-1.6.0/debian/advi-examples.README.Debian @@ -0,0 +1,17 @@ +advi-examples for Debian +------------------------ + + * The demos are slightly modified from upstream to be fully playable + as shipped by Debian + + * The cross-dvi-links as well as the links to the source files do not work + currently as the examples shipped by Debian are compressed and the + cross-link feature expects uncompressed dvi-files (see, e.g., demo.dvi.gz + in the examples/test directory). + + * The video examples does not work. FIXME. because the video file + is not contained in the upstream tar ball and mplayer is not + contained in Debian. + + -- Helge Kreutzmann , Sun, 06 Jan 2005 15:14:28 +0100 + --- advi-1.6.0.orig/debian/watch +++ advi-1.6.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://pauillac.inria.fr/advi/ advi-(.*)\.tar\.gz + --- advi-1.6.0.orig/debian/copyright +++ advi-1.6.0/debian/copyright @@ -0,0 +1,61 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Packaged-By: Sven Luther +Packaged-Date: Fri, 25 Jan 2002 12:23:38 +0100 +Upstream-Author: + Alexandre Miquel , + Jun Furuse , + Didier Remy , + Pierre Weis , + Xavier Leroy , + Roberto Di Cosmo , + Didier Le Botlan , + Alan Schmitt +Original-Source-Location: http://pauillac.inria.fr/activedvi/ + +Files: * +Copyright: © 2001-2003 Institut National de Recherche en Informatique et + en Automatique +License: LGPL-2+ + + Active-DVI is based on Mldvi, written by Alexandre Miquel, which + constitutes its core. Mldvi alone is distributed under LGPL license + and is available at http://pauillac.inria.fr/~miquel/. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + See the GNU Lesser General Public License version 2.1 for more + details (which can be found in the /usr/share/common-licenses/LGPL-2 + file on debian systems). + +Files: examples/prosper/xprosper.sty +Copyright: © 2000 Frederic Goualard +License: other + + The examples include style files for which the copyright is stated + below: + + xprosper.sty, downloaded from http://prosper.sourceforge.net/ : + + Permission is hereby granted, without written agreement and without + license or royalty fees, to use, copy, modify, and distribute this + software and its documentation for any purpose, provided that the + above copyright notice and the following two paragraphs appear in + all copies of this software. + + IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, + INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT + OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE + AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN + "AS IS" BASIS, AND THE AUTHOR HAS NO OBLIGATION TO PROVIDE + MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. --- advi-1.6.0.orig/debian/README.Debian +++ advi-1.6.0/debian/README.Debian @@ -0,0 +1,17 @@ +advi for Debian +--------------- + + * Advi does not (yet) support postscript fonts. It may be possible to do so, + by either writing a full postscript rasterizer, or, like xdvi does, use + gsftopk to transfrom ps fonts to pk ones. In both case a virtual font + decoder is also needed. In the meantime, only TeX fonts are supported, so + use those. + + * Advi has the capacity to use the \adviembed latex command to embed an + arbitrary shell command into a DVI file. Thus it is recommended to launch + advi with the -safer command to not execute such embedded commands (but + then advi loses one of its main interrest) or first inspect the DVI file + with the -n flag, and once you are sure there is no malicious embedded + command, you can view the DVI file without risk. + + -- Sven Luther , Sat, 15 Feb 2003 13:44:28 +0100 --- advi-1.6.0.orig/debian/links +++ advi-1.6.0/debian/links @@ -0,0 +1 @@ +usr/share/man/man1/advi.1.gz usr/share/man/man1/zadvi.1.gz --- advi-1.6.0.orig/debian/docs +++ advi-1.6.0/debian/docs @@ -0,0 +1,3 @@ +README +TODO +Announce --- advi-1.6.0.orig/debian/advi.install +++ advi-1.6.0/debian/advi.install @@ -0,0 +1,7 @@ +debian/utils/zadvi /usr/bin +doc/advi_remote.dvi /usr/share/doc/advi/manual +doc/manual.pdf /usr/share/doc/advi/manual +doc/scratch_write_splash.dvi /usr/share/doc/advi/manual +doc/splash.dvi /usr/share/doc/advi/manual +doc/mathmode.dvi /usr/share/doc/advi/manual +doc/scratch_draw_splash.dvi /usr/share/doc/advi/manual --- advi-1.6.0.orig/debian/patches/0004-Don-t-call-advi-on-example-build-generation.patch +++ advi-1.6.0/debian/patches/0004-Don-t-call-advi-on-example-build-generation.patch @@ -0,0 +1,173 @@ +From: Sven Luther +Date: Fri, 24 Apr 2009 00:07:34 +0200 +Subject: [PATCH] Don't call advi on example build generation + +--- + examples/basics/Makefile | 7 +++---- + examples/basics/cash/Makefile | 2 +- + examples/lib/Makefile | 2 +- + examples/prosper/Join/Makefile | 2 +- + examples/prosper/LL/Makefile | 2 +- + examples/seminar/a14/Makefile | 2 +- + examples/seminar/clock/Makefile | 2 +- + examples/slitex/advi/Makefile | 2 +- + examples/slitex/caml/Makefile | 2 +- + examples/slitex/simplistic/Makefile | 2 +- + examples/slitex/skin_detection/Makefile | 2 +- + 11 files changed, 13 insertions(+), 14 deletions(-) + +diff --git a/examples/basics/Makefile b/examples/basics/Makefile +index e5082ee..c339df0 100644 +--- a/examples/basics/Makefile ++++ b/examples/basics/Makefile +@@ -41,16 +41,15 @@ ADVI=TEXPSHEADERS=$(ADVIDIR)/tex: $(ADVIDIR)/advi + MLPROG= + + all: $(DVIFILES) +- advi simple.dvi && \ +- advi moderate.dvi && \ +- advi bubbles.dvi ++ #advi simple.dvi && \ ++ #advi moderate.dvi && \ + + dvi : $(DVIFILES) $(MLPROG) + + $(DVIFILES): $(ADVIDIR)/tex/bar.eps $(ADVIDIR)/tex/advi.sty $(ADVIDIR)/tex/advi-annot.sty + + .dvi.advi: +- $(ADVI) $< ++ #$(ADVI) $< + + .tex.dvi: + $(LATEX) $< +diff --git a/examples/basics/cash/Makefile b/examples/basics/cash/Makefile +index b9ba62c..f69bdad 100644 +--- a/examples/basics/cash/Makefile ++++ b/examples/basics/cash/Makefile +@@ -39,7 +39,7 @@ ADVI=TEXPSHEADERS=$(ADVIDIR)/tex: $(ADVIDIR)/advi + MLPROG= + + all: dvi +- advi $(DVIFILES) ++ #advi $(DVIFILES) + + dvi: $(DVIFILES) $(MLPROG) + +diff --git a/examples/lib/Makefile b/examples/lib/Makefile +index 4ff04f4..9e1e004 100644 +--- a/examples/lib/Makefile ++++ b/examples/lib/Makefile +@@ -10,7 +10,7 @@ DVIFILES=$(FILES:%.tex=%.dvi) Makefile + all:: $(DVIFILES) + + .dvi.advi: +- $(ADVI) $< ++ #$(ADVI) $< + + .tex.dvi: + $(LATEX) $* +diff --git a/examples/prosper/Join/Makefile b/examples/prosper/Join/Makefile +index b3cbbf2..c99f307 100644 +--- a/examples/prosper/Join/Makefile ++++ b/examples/prosper/Join/Makefile +@@ -29,7 +29,7 @@ include ../../lib/Makefile + all:: show + + show: join.dvi +- $(ADVI) join.dvi ++ #$(ADVI) join.dvi + + join.dvi: join.tex + $(LATEX) $< +diff --git a/examples/prosper/LL/Makefile b/examples/prosper/LL/Makefile +index 59762df..435f8fa 100644 +--- a/examples/prosper/LL/Makefile ++++ b/examples/prosper/LL/Makefile +@@ -29,7 +29,7 @@ LATEX=TEXINPUTS=$(TEXINPUTS) latex + all: show + + show: ll.dvi +- $(ADVI) ll.dvi ++ #$(ADVI) ll.dvi + + ll.dvi: ll.tex world.jpg advilogo.anim.gif + $(LATEX) $< +diff --git a/examples/seminar/a14/Makefile b/examples/seminar/a14/Makefile +index 0a2b299..cf982ae 100644 +--- a/examples/seminar/a14/Makefile ++++ b/examples/seminar/a14/Makefile +@@ -25,7 +25,7 @@ + N=14 + + all:: a${N}.dvi +- advi a${N}.dvi ++ #advi a${N}.dvi + + a${N}.dvi: mon-dvipdf.tex a${N}.tex + ./putimage a${N}bis.tex +diff --git a/examples/seminar/clock/Makefile b/examples/seminar/clock/Makefile +index 2c1af95..a0b3a73 100644 +--- a/examples/seminar/clock/Makefile ++++ b/examples/seminar/clock/Makefile +@@ -29,7 +29,7 @@ EPS=bar.jpg.eps cameleon.eps cameleon2.eps hump.eps logo.gif.eps ocaml.eps ocaml + include ../../lib/Makefile + + all:: tools.dvi +- advi tools.dvi ++ #advi tools.dvi + + tools.dvi: $(EPS) tools.tex + $(LATEX) tools.tex +diff --git a/examples/slitex/advi/Makefile b/examples/slitex/advi/Makefile +index 898979e..531099f 100644 +--- a/examples/slitex/advi/Makefile ++++ b/examples/slitex/advi/Makefile +@@ -29,7 +29,7 @@ LATEX=latex + .SUFFIXES: .tex + + all: talk.dvi +- advi talk.dvi ++ #advi talk.dvi + + clean:: + /bin/rm -f *.z[io] *~ *.txt *.log *.aux *.dvi talk.ps spelling +diff --git a/examples/slitex/caml/Makefile b/examples/slitex/caml/Makefile +index 5e9caf4..76a6579 100644 +--- a/examples/slitex/caml/Makefile ++++ b/examples/slitex/caml/Makefile +@@ -29,7 +29,7 @@ LATEX=latex + .SUFFIXES: .tex + + all:: talk.dvi +- advi talk.dvi ++ #advi talk.dvi + + clean:: + /bin/rm -f *.z[io] *.aux *.dvi talk.ps *.log *~ *.txt spelling +diff --git a/examples/slitex/simplistic/Makefile b/examples/slitex/simplistic/Makefile +index 48c76ab..6add80b 100644 +--- a/examples/slitex/simplistic/Makefile ++++ b/examples/slitex/simplistic/Makefile +@@ -29,7 +29,7 @@ LATEX=latex + .SUFFIXES: .dvi .tex + + all: talk.dvi +- advi talk.dvi ++ #advi talk.dvi + + clean: + /bin/rm -f *.z[io] *~ *.txt *.log *.aux *.dvi talk.ps spelling +diff --git a/examples/slitex/skin_detection/Makefile b/examples/slitex/skin_detection/Makefile +index 37e8057..658173b 100644 +--- a/examples/slitex/skin_detection/Makefile ++++ b/examples/slitex/skin_detection/Makefile +@@ -28,7 +28,7 @@ edit: + emacs skin_detection.tex + + see: +- advi skin_detection.dvi ++ #advi skin_detection.dvi + + clean: + /bin/rm -f *~ *.txt *.log *.aux *.dvi +-- --- advi-1.6.0.orig/debian/patches/0014-Doc-build.patch +++ advi-1.6.0/debian/patches/0014-Doc-build.patch @@ -0,0 +1,194 @@ +From: Helge Kreutzmann +Date: Fri, 24 Apr 2009 00:19:55 +0200 +Subject: [PATCH] Doc build + +The HTML files cannot be build (not HTMLC available) +Solution: Do not build/ship HTML files +The man page cannot be build (no .m file in source) +Solution: Do not rebuild man page, use prebuild one +but this does not work right now :-(( +--- + doc/MakeMan | 4 ++-- + doc/Makefile | 19 ++++++++++--------- + doc/manual.tex | 8 ++++---- + doc/scratch_draw_splash.tex | 4 ++-- + doc/scratch_write_splash.tex | 4 ++-- + doc/splash.tex | 4 ++-- + 6 files changed, 22 insertions(+), 21 deletions(-) + +diff --git a/doc/MakeMan b/doc/MakeMan +index 05325b1..23cd4a7 100644 +--- a/doc/MakeMan ++++ b/doc/MakeMan +@@ -37,7 +37,7 @@ clean: + $(RM) $(FILES) + + manpages: +- for i in $(SRC)/*.m; do \ +- $(CP) $$i ./`basename $$i .m`.$(MANEXT); \ ++ for i in $(SRC)/*.man; do \ ++ $(CP) $$i ./`basename $$i .man`.$(MANEXT); \ + done + +diff --git a/doc/Makefile b/doc/Makefile +index b0608ad..09cdb9d 100644 +--- a/doc/Makefile ++++ b/doc/Makefile +@@ -21,22 +21,22 @@ include ../Makefile.config + + # See also file MakeHTML to recompile HTML files for the Web site. + +-SETTEXINPUTS=TEXINPUTS=.:../tex:/usr/lib/hevea/:/usr/local/lib/hevea/:/usr/local/share/texmf/tex//:$$TEXINPUTS ++# SETTEXINPUTS=TEXINPUTS=.:../tex:/usr/lib/hevea/:/usr/local/lib/hevea/:/usr/local/share/texmf/tex//:$$TEXINPUTS ++SETTEXINPUTS=TEXINPUTS=.:../tex:$$TEXINPUTS + + LATEX=$(SETTEXINPUTS) latex + DVIPS=TEXPSHEADERS=.:../tex: dvips + HEVEA=$(PATH_HEVEA) -entities -I ../tex + IMAGEN=$(SETTEXINPUTS) imagen +-PDFIMAGEN=pdfimagen +-DVIPDFM=dvipdfm ++#PDFIMAGEN=pdfimagen ++DVIPDFM=$(SETTEXINPUTS) dvipdfm + + all: manual.dvi manual.ps manual.pdf manual.html \ + splash.dvi splash.ps \ + scratch_write_splash.dvi scratch_write_splash.ps \ + scratch_draw_splash.dvi scratch_draw_splash.ps \ + mathmode.dvi \ +- advi_remote.dvi advi_remote.html \ +- advi.1 ++ advi_remote.dvi + + clean:: + $(RM) manual.advi manual.html +@@ -54,7 +54,7 @@ web: + $(MAKE) -f MakeMan all + + advi.1: ../doc_src/advi.man +- $(MAKE) -f MakeMan all ++ $(MAKE) -f MakeMan manpages + + + manual.dvi: ../tex/advi.sty manual.sty splash_contents.tex \ +@@ -95,7 +95,7 @@ endif + if [ -e $*.dvi ]; then \ + $(MV) $*.dvi $*.advi; \ + fi +- $(LATEX) '\def\driver{dvipdfm}\input' $< ++ $(LATEX) '\PassOptionsToPackage{dvipdfm}{graphicx}\input' $< + - $(DVIPDFM) -o $@ $*.dvi + if [ -e $*.advi ]; then \ + $(MV) $*.advi $*.dvi; \ +@@ -105,8 +105,9 @@ endif + cp -p $< $*.dvi + + .html.ima: +- if [ -f $*.image.tex ]; then $(PDFIMAGEN) $*; fi ++ if [ -f $*.image.tex ]; then $(IMAGEN) $*; fi + touch $*.ima + + .tex.html: +- $(HEVEA) -fix macros.hva -o $*.html $*.tex ++ $(HEVEA) macros.hva -o $*.html $*.tex ++ $(IMAGEN) $* +diff --git a/doc/manual.tex b/doc/manual.tex +index 098d40d..ef237df 100644 +--- a/doc/manual.tex ++++ b/doc/manual.tex +@@ -55,7 +55,7 @@ Reference manual\\ + \advance \tmpdim by 4em + \begin{tabular}{c} + \box0 \\ +-\includegraphics[width=\the\tmpdim]{bar.eps}\\ ++\includegraphics[width=\the\tmpdim]{bar}\\ + Reference manual\\ + {\small Version {\adviversion}} + \end{tabular} +@@ -789,16 +789,16 @@ unset). + \begin{verbatim} + {\setblend{burn} + {\setalpha{0.5} +- {\includegraphics[width = 0.7\textwidth]{bar.eps}}}} ++ {\includegraphics[width = 0.7\textwidth]{bar}}}} + \end{verbatim} + + {\setblend{difference} + {\setalpha{0.5} +- {\includegraphics[width = 0.7\textwidth]{bar.eps}}}} ++ {\includegraphics[width = 0.7\textwidth]{bar}}}} + + {\setblend{normal} + {\setalpha{0.5} +- {\includegraphics[width = 0.7\textwidth]{bar.eps}}}} ++ {\includegraphics[width = 0.7\textwidth]{bar}}}} + + \subsection{Colors} + +diff --git a/doc/scratch_draw_splash.tex b/doc/scratch_draw_splash.tex +index 5e9406a..39cdee9 100644 +--- a/doc/scratch_draw_splash.tex ++++ b/doc/scratch_draw_splash.tex +@@ -31,7 +31,7 @@ + + \def\adviheader{\noindent + {\bf{\Large {\adviname}} (version \adviversion)}\\ +-\includegraphics[width=\textwidth]{bar.eps}} ++\includegraphics[width=\textwidth]{bar}} + + \let \Newpage \newpage + \def \newpage {\Newpage \advifooter\adviheader} +@@ -51,7 +51,7 @@ + The presentation tool of choice for discriminating hackers. + See \texttt{http://pauillac.inria.fr/advi/} + & +-\raisebox{-30pt}{\includegraphics[width=2cm]{advilogo.eps}} ++\raisebox{-30pt}{\includegraphics[width=2cm]{advilogo}} + \end{tabularx} + + \subsection*{Key bindings when drawing on slides (scratching)} +diff --git a/doc/scratch_write_splash.tex b/doc/scratch_write_splash.tex +index 2795bc1..be69ed7 100644 +--- a/doc/scratch_write_splash.tex ++++ b/doc/scratch_write_splash.tex +@@ -31,7 +31,7 @@ + + \def\adviheader{\noindent + {\bf{\Large {\adviname}} (version \adviversion)}\\ +-\includegraphics[width=\textwidth]{bar.eps}} ++\includegraphics[width=\textwidth]{bar}} + + \let \Newpage \newpage + \def \newpage {\Newpage \advifooter\adviheader} +@@ -51,7 +51,7 @@ + The presentation tool of choice for discriminating hackers. + See \texttt{http://pauillac.inria.fr/advi/} + & +-\raisebox{-30pt}{\includegraphics[width=2cm]{advilogo.eps}} ++\raisebox{-30pt}{\includegraphics[width=2cm]{advilogo}} + \end{tabularx} + + \subsection*{Key bindings to write on slides (scratch writing)} +diff --git a/doc/splash.tex b/doc/splash.tex +index f121514..093101f 100644 +--- a/doc/splash.tex ++++ b/doc/splash.tex +@@ -29,7 +29,7 @@ + + \def\adviheader{\noindent + {\bf{\Large {\adviname}} (version \adviversion)}\\ +-\includegraphics[width=\textwidth]{bar.eps}} ++\includegraphics[width=\textwidth]{bar}} + + \let \Newpage \newpage + \def \newpage {\Newpage \advifooter\adviheader} +@@ -51,7 +51,7 @@ + The presentation tool of choice for discriminating hackers. + See \texttt{http://pauillac.inria.fr/advi/} + & +-\raisebox{-30pt}{\includegraphics[width=2cm]{advilogo.eps}} ++\raisebox{-30pt}{\includegraphics[width=2cm]{advilogo}} + \end{tabularx} + + \subsection*{Usage} +-- --- advi-1.6.0.orig/debian/patches/0019-Fix-build-with-recent-camlimages.patch +++ advi-1.6.0/debian/patches/0019-Fix-build-with-recent-camlimages.patch @@ -0,0 +1,63 @@ +From: Stephane Glondu +Date: Sun, 12 Jul 2009 16:24:13 +0200 +Subject: [PATCH] Fix build with recent camlimages + +Closes: #534020. +--- + Makefile | 4 ++-- + configure | 8 ++++---- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/Makefile b/Makefile +index b8a6a1b..45a58af 100644 +--- a/Makefile ++++ b/Makefile +@@ -66,7 +66,7 @@ CAMLDEP = $(CAML)dep + + # CAMLIMAGESDIR & CAMLIMAGESLIBS is defined in Makefile.config + +-MLINCDIRS = $(CAMLIMAGESDIR) ++MLINCDIRS = +lablgtk2 +camlimages + + EXEC = advi + +@@ -85,7 +85,7 @@ MODULES = $(MISC) $(OPTIONS) $(GRAPHICS) \ + $(EFFECTS) grdev addons \ + $(GUI) main + +-LIBRARIES = graphics unix str $(CAMLIMAGESLIBS) ++LIBRARIES = graphics unix str lablgtk camlimages + CLIBS = graphics unix str + + COBJS = events.o grwm.o grY11.o +diff --git a/configure b/configure +index 4b1720c..b3bb1d8 100755 +--- a/configure ++++ b/configure +@@ -1531,13 +1531,13 @@ echo "${ECHO_T}no" >&6 + fi; + + +-if test -f $CAMLIMAGESDIR/ci_ps.cma; then ++if test -f $CAMLIMAGESDIR/camlimages.cma; then + echo "$as_me:$LINENO: result: found" >&5 + echo "${ECHO_T}found" >&6 +- CAMLIMAGES_VERSION=`grep VERSION $CAMLIMAGESDIR/Makefile.config | sed -e 's/VERSION=//'` ++ CAMLIMAGES_VERSION=`awk -F\" '/version/{print $2}' $CAMLIMAGESDIR/META` + if test `expr $CAMLIMAGES_VERSION \>= 2.11` = "1"; then + HAVE_CAMLIMAGES="true" +- CAMLIMAGESCONFIGINCLUDE="include $CAMLIMAGESDIR/Makefile.config" ++ CAMLIMAGESCONFIGINCLUDE="-include $CAMLIMAGESDIR/Makefile.config" + CAMLIMAGESLIBS='$(WITH_CAMLIMAGES:.cma=)' + else + echo "$as_me:$LINENO: result: found" >&5 +@@ -1717,7 +1717,7 @@ if test "$PATH_CAMLOPT" = "nope"; then + echo "*******************************************" + INSTALLTARGET="advi.byt" + else +- if test -f "$CAMLIMAGESDIR/ci_ps.cmxa"; then ++ if test -f "$CAMLIMAGESDIR/camlimages.cmxa"; then + INSTALLTARGET="advi.bin" + else + echo "**************** Warning ******************" +-- --- advi-1.6.0.orig/debian/patches/0007-Enable-build-and-install-on-architectures-with-only-.patch +++ advi-1.6.0/debian/patches/0007-Enable-build-and-install-on-architectures-with-only-.patch @@ -0,0 +1,22 @@ +From: Sven Luther +Date: Fri, 24 Apr 2009 00:12:06 +0200 +Subject: [PATCH] Enable build and install on architectures with only a bytecode compiler + +--- + configure | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/configure b/configure +index a6f55f3..4b1720c 100755 +--- a/configure ++++ b/configure +@@ -1715,7 +1715,7 @@ if test "$PATH_CAMLOPT" = "nope"; then + echo "to install the ocamlopt compiler if available" + echo "in your OS." + echo "*******************************************" +- INSTALLTARGET="i_want_opt" ++ INSTALLTARGET="advi.byt" + else + if test -f "$CAMLIMAGESDIR/ci_ps.cmxa"; then + INSTALLTARGET="advi.bin" +-- --- advi-1.6.0.orig/debian/patches/0015-xanim-xanimate.patch +++ advi-1.6.0/debian/patches/0015-xanim-xanimate.patch @@ -0,0 +1,25 @@ +From: Helge Kreutzmann +Date: Fri, 24 Apr 2009 00:20:54 +0200 +Subject: [PATCH] xanim -> xanimate + +replace on xanim call by animate call to remove reference to +software not in Debian (appears functionality wise identical) +--- + test/demo.sty | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/test/demo.sty b/test/demo.sty +index f342c21..5d02682 100644 +--- a/test/demo.sty ++++ b/test/demo.sty +@@ -59,7 +59,8 @@ Press: % + % xanim +Sx@x +Sy@y +W @p advilogo.anim.gif + % + \hfill{\adviembed[sticky=advianim,width=1.56cm,height=1.824cm]% +-{xanim -Zr +q +Sx@w +Sy@h +W@p +Wx@x +Wy@y advilogo.anim.gif}} ++%{xanim -Zr +q +Sx@w +Sy@h +W@p +Wx@x +Wy@y advilogo.anim.gif}} ++{animate -geometry @g! -window @p advilogo.anim.gif}} + }\medskip \leftline + {\hbox to 3em {\ifnum \thepage >1\theTarget [0]{First}{1}\fi\hfil} + \hbox to 3em {\ifnum \thepage >1\theTarget {Prev}{-1}\fi\hfil} +-- --- advi-1.6.0.orig/debian/patches/0016-Manpage-update.patch +++ advi-1.6.0/debian/patches/0016-Manpage-update.patch @@ -0,0 +1,400 @@ +From: Helge Kreutzmann +Date: Fri, 24 Apr 2009 00:21:50 +0200 +Subject: [PATCH] Manpage update + +numerous improvements for the man page (though more are possible) +including a Debian-specific reference to zadvi +--- + doc_src/advi.man | 144 ++++++++++++++++++++++++++++++++++-------------------- + 1 files changed, 91 insertions(+), 53 deletions(-) + +diff --git a/doc_src/advi.man b/doc_src/advi.man +index 7edb3fc..a9874ff 100644 +--- a/doc_src/advi.man ++++ b/doc_src/advi.man +@@ -15,11 +15,11 @@ + .\" .br insert line break + .\" .sp insert n+1 empty lines + .\" for manpage-specific macros, see man(7) ++.mso www.tmac + .SH NAME + .B advi + \-\- a DVI previewer and presenter +-.UR http://caml.inria.fr/advi/ +-(http://caml.inria.fr/advi/) ++.\" .URL http://caml.inria.fr/advi/ http://caml.inria.fr/advi/ + .UE + with some eye candy effects for presentation. + +@@ -28,13 +28,18 @@ Active\-DVI version $version + .SH SYNOPSIS + .B advi + .RI [ options ] " dvifile " ... ++ ++.B zadvi ++.RI [ options ] " dvifile.gz | dvifile.bz2 " ... + .SH DESCRIPTION + The + .B advi + program is a viewer for DVI files that also recognizes a new class of + special's targeted to presentations via laptop computers: various + visual effects can easily be incorporated to the presentation, via a +-companion advi.sty LaTeX package. ++companion ++.I advi.sty ++LaTeX package. + + .P + .B advi +@@ -47,6 +52,11 @@ application may display its material on a devoted area of the slide, + leading for example to live and/or interactive demos during the + presentation. + ++.P ++Compressed dvi-files (suffix .gz and .bz2) are supported via the ++.B zadvi ++command. ++ + .SH CURRENTLY SUPPORTED FEATURES: + + \- Encapsulated Postscript File inclusion (using graphics package) +@@ -55,9 +65,13 @@ presentation. + + \- Embedded applications for interactive demonstration + +-\- Pictures visualization via gpic specials ++\- Pictures visualization via ++.BR gpic (1) ++specials ++ ++\- Display of inlined Postscript using ++.BR gs (1) + +-\- Display of inlined Postscript using gs + + \- Font antialiasing that takes background colors into account + +@@ -96,7 +110,9 @@ table of contents or as small images set up on a page) + + Notice that + .B advi +-needs the `kpsewhich' tool in order to find and ++needs the ++.BR kpsewhich (1) ++tool in order to find and + recompile PK fonts. (This program is part of the `kpathsea' library + provided by many TeX distributions.) + +@@ -113,7 +129,9 @@ Debug page motion + Ignore background for antialiasing + .TP + .B \-\-showps +-Print a copy of Postscript sent to gs to stdout ++Print a copy of Postscript sent to ++.BR gs (1) ++to stdout + .TP + .B \-\-verbose\-image\-access + Change the cursor while loading images +@@ -138,7 +156,8 @@ Set default background color (Named or RGB) + Command to call the browser (default netscape\-communicator) + .TP + .B \-cache\-dir STRING +-Set the cache directory (default /tmp) ++Set the cache directory (default ++.IR /tmp ) + .TP + .B \-click\-turn + Turn pages with mouse clicks (see the doc) +@@ -147,7 +166,7 @@ Turn pages with mouse clicks (see the doc) + Crop the window to the best size (default) + .TP + .B \-disable\-image\-anti\-aliasing +-Disable eps inclusion anti\-aliasing ++Disable EPS inclusion anti\-aliasing + .TP + .B \-edit + Start in edit mode +@@ -162,7 +181,8 @@ Draw in the foreground + Set default foreground color (Named or RGB) + .TP + .B \-film\-viewer STRING +-Command to display film files (default mplayer) ++Command to display film files (default ++.BR mplayer (1)) + .TP + .B \-fullwidth + Adjust size to width +@@ -182,7 +202,7 @@ Horizontal margin (default: 1cm) + .B \-html STRING + Make + .B advi +-start at html reference of name STRING ++start at HTML reference of name STRING + .TP + .B \-image\-viewer STRING + Command to display image files (default xv) +@@ -216,7 +236,11 @@ Don't display a watch when busy + .TP + .B \-options\-file STRING + Load this file when parsing this option to set up options +-(to override the options of the default ~/.advirc or ~/.advi/advirc init file). ++(to override the options of the default ++.I ~/.advirc ++or ++.I ~/.advi/advirc ++init file) + .TP + .B \-page INT + Make +@@ -232,7 +256,7 @@ to write the current page number in a file (default is no) + Set the name of the file where + .B advi + could write the current page number +-(default is file 'advi\_page\_number' in the cache directory). ++(default is file 'advi\_page\_number' in the cache directory) + .TP + .B \-pager STRING + Command to call the pager (default xterm \-e less) +@@ -241,19 +265,21 @@ Command to call the pager (default xterm \-e less) + Cancel all Active\-DVI effects + .TP + .B \-pdf\-viewer STRING +-Command to view PDF files (default xpdf) ++Command to view PDF files (default ++.BR xpdf (1)) + .TP + .B \-ps\-viewer STRING +-Command to view PS files (default gv) ++Command to view PS files (default ++.BR gv (1)) + .TP + .B \-pstricks + Show moveto + .TP + .B \-resolution REAL +-Dpi resolution of the screen (min 72.27))) ++DPI resolution of the screen (min. 72.27))) + .TP + .B \-rv +-Reverse video is simulated by swapping the foreground and background colors. ++Reverse video is simulated by swapping the foreground and background colors + .TP + .B \-safer + Safer mode: external applications are never launched +@@ -277,10 +303,10 @@ Set the width of the pen used when scratching slides (default 2) + Set the number of thumbname per line and column to INT + .TP + .B \-thumbnails +-Create thumbnails for your slides and write them into cachedir. ++Create thumbnails for your slides and write them into cachedir + .TP + .B \-thumbnails\-size STRING +-Fix thumbnails size (default 24x32). ++Fix thumbnails size (default 24x32) + .TP + .B \-v + Print the current Active\-DVI version +@@ -302,7 +328,7 @@ Display this list of options + + .P + Geometry GEOM is specified in pixels, using the standard format +-for specifying geometries (i.e: "WIDTHxHEIGHT[+XOFFSET+YOFFSET]"). ++for specifying geometries (i.e., "WIDTHxHEIGHT[+XOFFSET+YOFFSET]"). + + Dimensions (for options `-hmargin' and `-vmargin') are specified as + numbers optionally followed by two letters representing units. +@@ -326,41 +352,41 @@ original TeX source. + Advi recognizes the following keystrokes when typed in its window. + Some of them may optionally be preceded by a number, called ARG below, + whose interpretation is keystroke dependant. If ARG is unset, its +-value is 1, unless specified otherwise. ++value is 1. + + Advi maintains an history of previously visited pages organized as a stack. +-Additionnally, the history contains mark pages which are stronger than ++Additionally, the history contains mark pages which are stronger than + unmarked pages. + + .RS 2 + .TP 8 + .B ? +-Quick info and key bindings help ++Quick info and key bindings help. + + .TP + .B q +-Quits the program ++Quits the program. + + .TP + .B ^X\-^C (Control\-X Control\-C) +-Quits the program ++Quits the program. + + .TP + .B ^X\-^F (Control\-X Control\-F) +-Turn to full screen mode ++Turn to full screen mode. + + .TP + .B ^F (Control\-F) +-Toggle to switch from full screen to normal mode and converse ++Toggle to switch from full screen to normal mode and converse. + + .TP + .B ^