--- tkdvi-0.2.orig/dvi/Makefile.in +++ tkdvi-0.2/dvi/Makefile.in @@ -113,7 +113,7 @@ OBJECTS = dviFile.o dviGet.o dviInterp.o findFont.o font.o fontPK.o fontVF.o fontTFM.o init.o misc.o image.o -CLEANFILES = $(EXTLIB) pkgIndex.tcl $(OBJECTS) +CLEANFILES = $(EXTLIB) $(OBJECTS) # We need to include $(kpathsea_includedir) both with and without the # `kpathsea' because the kpathsea headers insist on including their own @@ -230,17 +230,6 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -dviFile.lo dviFile.o : dviFile.c dviInt.h dvi.h dviOps.h -dviGet.lo dviGet.o : dviGet.c dviInt.h dvi.h -dviInterp.lo dviInterp.o : dviInterp.c dviInt.h dvi.h dviOps.h -findFont.lo findFont.o : findFont.c dviInt.h dvi.h -font.lo font.o : font.c dviInt.h dvi.h -fontPK.lo fontPK.o : fontPK.c dvi.h dviInt.h -fontTFM.lo fontTFM.o : fontTFM.c dvi.h dviInt.h -image.lo image.o : image.c dvi.h dviInt.h -init.lo init.o : init.c dviInt.h dvi.h -misc.lo misc.o : misc.c dvi.h dviInt.h - check-TESTS: $(TESTS) @failed=0; all=0; \ srcdir=$(srcdir); export srcdir; \ --- tkdvi-0.2.orig/dvi/Makefile.am +++ tkdvi-0.2/dvi/Makefile.am @@ -49,7 +49,7 @@ dviFile.o dviGet.o dviInterp.o findFont.o font.o \ fontPK.o fontVF.o fontTFM.o init.o misc.o image.o -CLEANFILES = $(EXTLIB) pkgIndex.tcl $(OBJECTS) +CLEANFILES = $(EXTLIB) $(OBJECTS) # We need to include $(kpathsea_includedir) both with and without the # `kpathsea' because the kpathsea headers insist on including their own --- tkdvi-0.2.orig/dvi/pkgIndex.tcl +++ tkdvi-0.2/dvi/pkgIndex.tcl @@ -0,0 +1,11 @@ +# Tcl package index file, version 1.1 +# This file is generated by the "pkg_mkIndex -direct" command +# and sourced either when an application starts up or +# by a "package unknown" script. It invokes the +# "package ifneeded" command to set up package-related +# information so that packages will be loaded automatically +# in response to "package require" commands. When this +# script is sourced, the variable $dir must contain the +# full path name of this file's directory. + +package ifneeded dvi 0.1 [list load [file join $dir libdvi.so]] --- tkdvi-0.2.orig/debian/README.debian +++ tkdvi-0.2/debian/README.debian @@ -0,0 +1,10 @@ +tkdvi for DEBIAN +---------------- + +This is a straight Debianization of the tkdvi package (of which I happen +to be the upstream author). + +If you want to recompile this from sources, make sure that you have +the tetex-dev package installed. + +Anselm Lingnau , Wed, 16 Jun 1999 10:37:07 +0200 --- tkdvi-0.2.orig/debian/changelog +++ tkdvi-0.2/debian/changelog @@ -0,0 +1,10 @@ +tkdvi (0.2-1) unstable; urgency=low + + * Initial Release. + + -- Anselm Lingnau Wed, 16 Jun 1999 10:37:07 +0200 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "lingnau@debian.org" +End: --- tkdvi-0.2.orig/debian/copyright +++ tkdvi-0.2/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Anselm Lingnau on +Wed, 16 Jun 1999 10:37:07 +0200. + +It was downloaded from +ftp://ftp.tm.informatik.uni-frankfurt.de/pub/dist/tkdvi/. + +Upstream Author: Anselm Lingnau + (the same person) + +Copyright: + +This software is copyrighted by Anselm Lingnau. The following +terms apply to all files associated with the software unless explicitly +disclaimed in individual files. + +The authors hereby grant permission to use, copy, modify, distribute, +and license this software and its documentation for any purpose, provided +that existing copyright notices are retained in all copies and that this +notice is included verbatim in any distributions. No written agreement, +license, or royalty fee is required for any of the authorized uses. +Modifications to this software may be copyrighted by their authors +and need not follow the licensing terms described here, provided that +the new terms are clearly indicated on the first page of each file where +they apply. + +IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY +FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY +DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE +IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE +NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR +MODIFICATIONS. + --- tkdvi-0.2.orig/debian/crontab.ex +++ tkdvi-0.2/debian/crontab.ex @@ -0,0 +1 @@ +0 4 * * * root tkdvi_maintenance --- tkdvi-0.2.orig/debian/dirs +++ tkdvi-0.2/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- tkdvi-0.2.orig/debian/diversions.ex +++ tkdvi-0.2/debian/diversions.ex @@ -0,0 +1 @@ + --- tkdvi-0.2.orig/debian/docs +++ tkdvi-0.2/debian/docs @@ -0,0 +1 @@ +ChangeLog README TODO --- tkdvi-0.2.orig/debian/inetd.conf.ex +++ tkdvi-0.2/debian/inetd.conf.ex @@ -0,0 +1,2 @@ +#:OTHER: +tkdvi stream tcp nowait root /usr/sbin/tcpd /usr/sbin/tkdvi --- tkdvi-0.2.orig/debian/info.ex +++ tkdvi-0.2/debian/info.ex @@ -0,0 +1,15 @@ +# This is a configuration files for installing a .info menu +# The Description to be placed into the directory +DESCR="Description" + +# The section this info file should be placed in (Regexp) followed by +# the new section name to be created if the Regexp does not match +# (Optional. If not given the .info will be appended to the directory) +#SECTION_MATCH="Regexp" +#SECTION_NAME="New Section Name" + +# The file referred to from the Info directory +FILE=tkdvi.info + +# Optional. The files to be copied to /usr/info +#FILES=*.info --- tkdvi-0.2.orig/debian/init.d.ex +++ tkdvi-0.2/debian/init.d.ex @@ -0,0 +1,31 @@ +#! /bin/sh +# +# This file was automatically customized by debmake on Wed, 16 Jun 1999 10:37:07 +0200 +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux by Ian Murdock . +# Modified for Debian by Christoph Lameter + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +DAEMON=/usr/sbin/tkdvi +# The following value is extracted by debstd to figure out how to generate +# the postinst script. Edit the field to change the way the script is +# registered through update-rc.d (see the manpage for update-rc.d!) +FLAGS="defaults 50" + +test -f $DAEMON || exit 0 + +case "$1" in + start) + start-stop-daemon --start --verbose --exec $DAEMON + ;; + stop) + start-stop-daemon --stop --verbose --exec $DAEMON + ;; + *) + echo "Usage: /etc/init.d/tkdvi {start|stop}" + exit 1 + ;; +esac + +exit 0 --- tkdvi-0.2.orig/debian/manpage.1.ex +++ tkdvi-0.2/debian/manpage.1.ex @@ -0,0 +1,41 @@ +.TH NAME SECTION +.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection +.\" other parms are allowed: see man(7), man(1) +.SH NAME +tkdvi \- programs to do something +.SH SYNOPSIS +.B tkdvi +.I "[options] files ..." +.br +.B bar +.I "[options] files ..." +.SH "DESCRIPTION" +This manual page documents briefly the +.BR tkdvi , +and +.B bar +commands. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +Instead, it has documentation in the GNU Info format; see below. +.PP +.B tkdvi +is a program that... +.SH OPTIONS +The programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options are included below. +For a complete description, see the Info files. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH "SEE ALSO" +The programs are documented fully by +.IR "The Rise and Fall of a Fooish Bar" , +available via the Info system. +.SH AUTHOR +This manual page was written by Anselm Lingnau , +for the Debian GNU/Linux system (but may be used by others). --- tkdvi-0.2.orig/debian/menu.ex +++ tkdvi-0.2/debian/menu.ex @@ -0,0 +1,2 @@ +?package(tkdvi):needs=X11|text|vc|wm section=Apps/see-menu-manual\ + title="tkdvi" command="/usr/bin/tkdvi" --- tkdvi-0.2.orig/debian/watch.ex +++ tkdvi-0.2/debian/watch.ex @@ -0,0 +1,5 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +sunsite.unc.edu /pub/Linux/Incomingu tkdvi-*.tar.gz debian uupdate --- tkdvi-0.2.orig/debian/control +++ tkdvi-0.2/debian/control @@ -0,0 +1,18 @@ +Source: tkdvi +Section: tex +Priority: optional +Maintainer: Anselm Lingnau +Standards-Version: 2.4.0.0 + +Package: tkdvi +Architecture: any +Depends: ${shlibs:Depends}, tk8.0 +Suggests: tetex-base, tetex-bin +Description: A TeX DVI previewer based on Tcl/Tk. + This program lets you look at the DVI files output by TeX. It is similar + in spirit to xdvi but offers a richer user interface as well as some + convenient features such as the possibility to look at `spreads' of + two adjacent pages as well as a 4x4 page `overview'. This program is + still in alpha test, which means that some important functionality like + the ability to show included graphics is still missing, but it is quite + usable as it is. Please report bugs or suggestions. --- tkdvi-0.2.orig/debian/rules +++ tkdvi-0.2/debian/rules @@ -0,0 +1,74 @@ +#!/usr/bin/make -f +# MAde with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Cristoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + + ./configure --prefix=/usr + # Add here commands to compile the package. + $(MAKE) XCFLAGS=-g LDFLAGS=-g + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + dh_clean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install prefix=`pwd`/debian/tmp/usr + + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installinit + dh_installcron + dh_installmanpages +# dh_undocumented + dh_installchangelogs + dh_strip + dh_compress usr/doc/tkdvi/ChangeLog + dh_fixperms + dh_suidregister + dh_installdeb + dh_shlibdeps + dh_gencontrol +# dh_makeshlibs + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary