Package: tmview
Severity: important
Tags: patch
svgalib is scheduled for removal for jessie. Attached patch
drops the svga-specific binary package.
Cheers,
Moritz
diff -Naur tmview-01.03.orig/debian/control tmview-01.03/debian/control
--- tmview-01.03.orig/debian/control 2013-06-04 23:04:03.000000000 +0200
+++ tmview-01.03/debian/control 2013-06-04 23:05:52.000000000 +0200
@@ -2,25 +2,9 @@
Section: tex
Priority: optional
Maintainer: Sam Hocevar (Debian packages) <[email protected]>
-Build-Depends: debhelper (>= 5.0), quilt, libsvga1-dev [i386], libkpathsea-dev, libx11-dev
+Build-Depends: debhelper (>= 5.0), quilt, libkpathsea-dev, libx11-dev
Standards-Version: 3.7.2
-Package: dvisvga
-Architecture: i386
-Depends: ${shlibs:Depends}, texlive
-Conflicts: tmview
-Replaces: tmview
-Provides: tmview
-Description: dvi viewer for SVGAlib
- dvisvga is a screen-previewer for .dvi-files compiled by TeX. It lets you
- see what your printed output will look like. You can choose between a
- black-and-white representation and greyscaling. You can choose an arbitrary
- zoom factor (at some cost of performance). You can set marks to measure
- distances. You can search for text strings. You may visit lots of DVI files,
- set bookmarks and get them saved to a startup-file. dvisvga does not
- support pxl-files. dvisvga ignores all 'special'-commands and has no
- font-replacing mechanism.
-
Package: dvilx
Architecture: any
Depends: ${shlibs:Depends}, texlive
diff -Naur tmview-01.03.orig/debian/dvisvga.dirs tmview-01.03/debian/dvisvga.dirs
--- tmview-01.03.orig/debian/dvisvga.dirs 2013-06-04 23:04:03.000000000 +0200
+++ tmview-01.03/debian/dvisvga.dirs 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-usr/bin
-usr/share/man/man1
diff -Naur tmview-01.03.orig/debian/dvisvga.menu tmview-01.03/debian/dvisvga.menu
--- tmview-01.03.orig/debian/dvisvga.menu 2013-06-04 23:04:03.000000000 +0200
+++ tmview-01.03/debian/dvisvga.menu 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-?package(dvisvga):command="/usr/bin/dvisvga" needs="vc" \
- section="Applications/Viewers" title="dvisvga"
diff -Naur tmview-01.03.orig/debian/dvisvga.postinst tmview-01.03/debian/dvisvga.postinst
--- tmview-01.03.orig/debian/dvisvga.postinst 2013-06-04 23:04:03.000000000 +0200
+++ tmview-01.03/debian/dvisvga.postinst 1970-01-01 01:00:00.000000000 +0100
@@ -1,18 +0,0 @@
-#! /bin/sh
-
-case "$1" in
- configure)
- if ! dpkg-statoverride --list /usr/bin/dvisvga >/dev/null; then
- dpkg-statoverride --update --add root root 4755 /usr/bin/dvisvga
- fi
- ;;
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
diff -Naur tmview-01.03.orig/debian/dvisvga.postrm tmview-01.03/debian/dvisvga.postrm
--- tmview-01.03.orig/debian/dvisvga.postrm 2013-06-04 23:04:03.000000000 +0200
+++ tmview-01.03/debian/dvisvga.postrm 1970-01-01 01:00:00.000000000 +0100
@@ -1,18 +0,0 @@
-#! /bin/sh
-
-case "$1" in
- purge|remove)
- if dpkg-statoverride --list /usr/bin/dvisvga >/dev/null; then
- dpkg-statoverride --remove /usr/bin/dvisvga
- fi
- ;;
- upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
diff -Naur tmview-01.03.orig/debian/rules tmview-01.03/debian/rules
--- tmview-01.03.orig/debian/rules 2013-06-04 23:04:03.000000000 +0200
+++ tmview-01.03/debian/rules 2013-06-04 23:07:22.000000000 +0200
@@ -4,12 +4,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-ARCH=$(shell dpkg --print-architecture)
-SVGA_ARCHS = i386
-ifneq ($(findstring $(ARCH),$(SVGA_ARCHS)),)
-DO_SVGA = 1
-endif
-
ARCH_OS=$(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifeq ($(ARCH_OS),linux)
DO_FB = 1
@@ -19,9 +13,6 @@
build-stamp:
dh_testdir
QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
-ifdef DO_SVGA
- make -f MakeSVGA
-endif
make -f MakeLX
ifdef DO_FB
make -f MakeFb
@@ -32,11 +23,10 @@
dh_testdir
dh_testroot
rm -f build-stamp
- make -f MakeSVGA clean
make -f MakeLX clean
make -f MakeFb clean
QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
- rm -f dvisvga.linux dvilx.linux dvifb.linux
+ rm -f dvilx.linux dvifb.linux
dh_clean
# Build architecture-independent files here.
@@ -56,13 +46,8 @@
ifdef DO_FB
install doc/tmview.1 debian/dvifb/usr/share/man/man1/dvifb.1
endif
-ifdef DO_SVGA
- dh_installdocs -pdvisvga README doc/tmview.dvi doc/tm.ps
- install doc/tmview.1 debian/dvisvga/usr/share/man/man1/dvisvga.1
- ln -s dvisvga.1.gz debian/dvisvga/usr/share/man/man1/tmview.1.gz
-else
ln -s dvilx.1.gz debian/dvilx/usr/share/man/man1/tmview.1.gz
-endif
+
dh_installchangelogs CHANGES
dh_installmenu
dh_strip
@@ -72,25 +57,14 @@
ifdef DO_FB
install -s -m 0755 dvifb.linux debian/dvifb/usr/bin/dvifb
endif
-ifdef DO_SVGA
- install -s -m 0755 dvisvga.linux debian/dvisvga/usr/bin/dvisvga
- ln -s dvisvga debian/dvisvga/usr/bin/tmview
-else
ln -s dvilx debian/dvilx/usr/bin/tmview
-endif
dh_installdeb
dh_shlibdeps
-ifdef DO_SVGA
- dh_gencontrol -pdvisvga
-endif
dh_gencontrol -pdvilx
ifdef DO_FB
dh_gencontrol -pdvifb
endif
dh_md5sums
-ifdef DO_SVGA
- dh_builddeb -pdvisvga
-endif
dh_builddeb -pdvilx
ifdef DO_FB
dh_builddeb -pdvifb
@@ -101,3 +75,5 @@
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
+
+