Package: dvips-fontdata-n2bk
Version: 0.0.2001.12.12-3
Followup-For: Bug #817442
User: [email protected]
Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* debian/rules:
- Remove legacy DH_COMPAT export.
- Use dh_prep instead of dh_clean -k.
* debian/compat: Indicate compatibility level of 9.
* debian/control:
- Build-depend on debhelper (>= 9).
- Depend on ${misc:Depends}.
* debian/post{inst,rm}: Remove paths from mktexlsr commands.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: stretch/sid
APT prefers xenial-updates
APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -u dvips-fontdata-n2bk-0.0.2001.12.12/debian/control dvips-fontdata-n2bk-0.0.2001.12.12/debian/control
--- dvips-fontdata-n2bk-0.0.2001.12.12/debian/control
+++ dvips-fontdata-n2bk-0.0.2001.12.12/debian/control
@@ -2,11 +2,12 @@
Section: tex
Priority: optional
Maintainer: Atsuhito KOHDA <[email protected]>
-Build-Depends: debhelper (>> 4.1.0)
+Build-Depends: debhelper (>= 9)
Standards-Version: 3.7.2
Package: dvips-fontdata-n2bk
Architecture: all
+Depends: ${misc:Depends}
Description: Virtual font data to process dvi files generated by NTT-JTeX
This package contains virtual font data to convert Dai-Nippon fonts,
which are used in dvi files generated by NTT-JTeX, to Japanese
diff -u dvips-fontdata-n2bk-0.0.2001.12.12/debian/postinst dvips-fontdata-n2bk-0.0.2001.12.12/debian/postinst
--- dvips-fontdata-n2bk-0.0.2001.12.12/debian/postinst
+++ dvips-fontdata-n2bk-0.0.2001.12.12/debian/postinst
@@ -24,8 +24,8 @@
case "$1" in
configure)
- if [ -x /usr/bin/mktexlsr ]; then
- /usr/bin/mktexlsr
+ if [ -x mktexlsr ]; then
+ mktexlsr
fi
;;
diff -u dvips-fontdata-n2bk-0.0.2001.12.12/debian/postrm dvips-fontdata-n2bk-0.0.2001.12.12/debian/postrm
--- dvips-fontdata-n2bk-0.0.2001.12.12/debian/postrm
+++ dvips-fontdata-n2bk-0.0.2001.12.12/debian/postrm
@@ -18,8 +18,8 @@
case "$1" in
remove)
- if [ -x /usr/bin/mktexlsr ]; then
- /usr/bin/mktexlsr
+ if [ -x mktexlsr ]; then
+ mktexlsr
fi
;;
diff -u dvips-fontdata-n2bk-0.0.2001.12.12/debian/rules dvips-fontdata-n2bk-0.0.2001.12.12/debian/rules
--- dvips-fontdata-n2bk-0.0.2001.12.12/debian/rules
+++ dvips-fontdata-n2bk-0.0.2001.12.12/debian/rules
@@ -5,9 +5,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# This is the debhelper compatability version to use.
-export DH_COMPAT=4
-
configure: configure-stamp
configure-stamp:
dh_testdir
@@ -37,7 +34,7 @@
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
# Add here commands to install the package into debian/dvips-fontdata-n2bk.
only in patch2:
unchanged:
--- dvips-fontdata-n2bk-0.0.2001.12.12.orig/debian/compat
+++ dvips-fontdata-n2bk-0.0.2001.12.12/debian/compat
@@ -0,0 +1 @@
+9