Package: jadetex
Version: 3.13-3
Severity: wishlist
Tags: patch
jadetex's postinst has the following code:
warn " Please report this bug; include tetex* package version"
warn " numbers and the file $MYTMPFILE in the bug report."
This is much better accomplished using a reportbug control file, as
described in /usr/share/doc/reportbug/README.Developers. It can easily
be done with the following patch:
diff -Nur jadetex-3.13.orig/debian/postinst jadetex-3.13/debian/postinst
--- jadetex-3.13.orig/debian/postinst 2005-03-07 14:54:29.000000000 +0100
+++ jadetex-3.13/debian/postinst 2005-03-15 15:12:44.000000000 +0100
@@ -165,8 +165,8 @@
warn " failed."
warn "ERROR: JadeTeX/PDFJadeTeX memory dump creation failed"
warn " This package could not be installed."
- warn " Please report this bug; include tetex* package version"
- warn " numbers and the file $MYTMPFILE in the bug report."
+ warn " Please report this bug; include the file $MYTMPFILE"
+ warn " in the bug report."
exit 1
fi
diff -Nur jadetex-3.13.orig/debian/reportbug-control
jadetex-3.13/debian/reportbug-control
--- jadetex-3.13.orig/debian/reportbug-control 1970-01-01 01:00:00.000000000
+0100
+++ jadetex-3.13/debian/reportbug-control 2005-03-15 15:06:06.000000000
+0100
@@ -0,0 +1 @@
+report-with: tetex-base tetex-bin tetex-extra
diff -Nur jadetex-3.13.orig/debian/rules jadetex-3.13/debian/rules
--- jadetex-3.13.orig/debian/rules 2005-03-07 14:54:29.000000000 +0100
+++ jadetex-3.13/debian/rules 2005-03-15 15:09:44.000000000 +0100
@@ -12,6 +12,7 @@
templdir := $(texdir)/config-templates
confdir := $(prefix)/etc/texmf/$(package)
texmfdir := $(prefix)/etc/texmf/texmf.d
+bugdir := $(prefix)/usr/share/bug/$(package)
# tool abstraction
install_file := install -o root -g root -m 644 -p
@@ -71,6 +72,10 @@
$(install_file) jadetex.ltx $(texdir)/base/
$(install_file) dsssl.def *.sty *.fd $(texdir)/base/
+ # include information about teTeX in bug reports
+ $(make_dir) $(bugdir)
+ $(install_file) debian/reportbug-control $(bugdir)/control
+
ln -s tex $(bindir)/jadetex
ln -s pdftex $(bindir)/pdfjadetex
Regards, Frank
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages jadetex depends on:
ii debianutils 2.8.4 Miscellaneous utilities specific t
ii tetex-bin 3.0-2 The teTeX binary files
ii tetex-extra 3.0-2 Additional library files of teTeX
-- no debconf information
--
Frank K�ster
Inst. f. Biochemie der Univ. Z�rich
Debian Developer