Your message dated Mon, 13 Feb 2012 20:51:54 +0000
with message-id <[email protected]>
and subject line Bug#659741: fixed in scalable-cyrfonts 4.15
has caused the Debian Bug report #659741,
regarding scalable-cyrfonts: use dh_installdeb maintscript support
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
659741: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659741
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: scalable-cyrfonts
Version: 4.14
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch precise
Using 'dpkg-maintscript-helper supports rm_conffile' guards introduces
unreliability into upgrades; it means that the conffile is removed or
not depending on whether dpkg happens to be unpacked before
t1-cyrillic/t1-oldslavic/t1-teams. This seems generally undesirable; it
would be better to enforce a single code path. (This is academic for
Debian because the version of dpkg in squeeze supported
dpkg-maintscript-helper, hence Severity: wishlist; Ubuntu's last LTS
release didn't have a sufficient version of dpkg for that which is why I
care.)
It would be nice to just use dh_installdeb's support for generating
dpkg-maintscript-helper commands, which was introduced in debhelper
8.1.0. This would remove duplicate code from your maintainer scripts.
Here's a patch:
* Use maintscript support in dh_installdeb rather than writing out
dpkg-maintscript-helper commands by hand. We now simply Pre-Depend on a
new enough version of dpkg rather than using 'dpkg-maintscript-helper
supports' guards, leading to more predictable behaviour on upgrades.
diff -Nru scalable-cyrfonts-4.14/debian/control
scalable-cyrfonts-4.14ubuntu1/debian/control
--- scalable-cyrfonts-4.14/debian/control 2011-11-29 12:24:13.000000000
+0000
+++ scalable-cyrfonts-4.14ubuntu1/debian/control 2012-02-13
14:31:15.000000000 +0000
@@ -3,7 +3,7 @@
Section: text
Priority: optional
Standards-Version: 3.8.1
-Build-Depends: debhelper (>= 5.0.31), tar (>=1.13.18), bzip2, fontforge,
gsfonts, zip, tofrodos, xfonts-utils, texlive, texlive-font-utils, tex-common
(>= 1.18)
+Build-Depends: debhelper (>= 8.1.0~), tar (>=1.13.18), bzip2, fontforge,
gsfonts, zip, tofrodos, xfonts-utils, texlive, texlive-font-utils, tex-common
(>= 1.18)
Package: t1-cyrillic
Architecture: all
@@ -21,6 +22,7 @@
infringements.
Section: x11
Priority: optional
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}
Suggests: xfs (>=4.0) | xserver
Conflicts: xbase-clients (<< 4.0), scalable-cyrfonts-x11, scalable-cyrfonts
@@ -38,6 +40,7 @@
Bulgarian and Russian Cyrillic characters.
Section: x11
Priority: optional
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}
Suggests: xfs (>=4.0) | xserver
Conflicts: xbase-clients (<< 4.0), scalable-cyrfonts-x11, scalable-cyrfonts
@@ -54,6 +57,7 @@
it.
Section: text
Priority: optional
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}
Suggests: xfs (>=4.0) | xserver
Conflicts: xbase-clients (<< 4.0), scalable-cyrfonts-x11, scalable-cyrfonts
diff -Nru scalable-cyrfonts-4.14/debian/t1-cyrillic.maintscript
scalable-cyrfonts-4.14ubuntu1/debian/t1-cyrillic.maintscript
--- scalable-cyrfonts-4.14/debian/t1-cyrillic.maintscript 1970-01-01
01:00:00.000000000 +0100
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-cyrillic.maintscript
2012-02-13 14:27:59.000000000 +0000
@@ -0,0 +1,3 @@
+rm_conffile /etc/X11/fonts/X11R7/Type1/t1-cyrillic.scale 4.12+nmu1
+rm_conffile /etc/X11/fonts/X11R7/Type1/t1-cyrillic.alias 4.12+nmu1
+rm_conffile /etc/defoma/hints/t1-cyrillic.hints 4.14
diff -Nru scalable-cyrfonts-4.14/debian/t1-cyrillic.postinst
scalable-cyrfonts-4.14ubuntu1/debian/t1-cyrillic.postinst
--- scalable-cyrfonts-4.14/debian/t1-cyrillic.postinst 2011-11-29
13:02:55.000000000 +0000
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-cyrillic.postinst 2012-02-13
14:28:22.000000000 +0000
@@ -10,8 +10,4 @@
fc-cache /usr/share/fonts/X11/Type1
fi
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile /etc/defoma/hints/t1-cyrillic.hints 4.14
-- "$@"
-fi
-
#DEBHELPER#
diff -Nru scalable-cyrfonts-4.14/debian/t1-cyrillic.postrm
scalable-cyrfonts-4.14ubuntu1/debian/t1-cyrillic.postrm
--- scalable-cyrfonts-4.14/debian/t1-cyrillic.postrm 2011-11-29
12:24:13.000000000 +0000
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-cyrillic.postrm 2012-02-13
14:28:39.000000000 +0000
@@ -20,7 +20,3 @@
;;
esac
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile /etc/defoma/hints/t1-cyrillic.hints 4.14
-- "$@"
-fi
-
diff -Nru scalable-cyrfonts-4.14/debian/t1-cyrillic.preinst
scalable-cyrfonts-4.14ubuntu1/debian/t1-cyrillic.preinst
--- scalable-cyrfonts-4.14/debian/t1-cyrillic.preinst 2011-11-29
12:50:45.000000000 +0000
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-cyrillic.preinst 2012-02-13
14:28:17.000000000 +0000
@@ -2,32 +2,13 @@
set -e
-# Remove a no-longer used conffile
-rm_conffile() {
- CONFFILE="$1"
-
- if [ -e "$CONFFILE" ]; then
- echo "Removing obsolete conffile $CONFFILE ..."
- rm -f "$CONFFILE"
- fi
-}
-
case "$1" in
install|upgrade)
- # clear obsolete conffiles left from etch (4.10-0.1)
- if dpkg --compare-versions "$2" le "4.12+nmu1"; then
- rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-cyrillic.scale"
- rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-cyrillic.alias"
- fi
if dpkg --compare-versions "$2" lt 4.14; then
if [ -x "which defoma-font 2>/dev/null" ]; then
defoma-font purge /etc/defoma/hints/t1-cyrillic.hints
fi
fi
- if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile \
- /etc/defoma/hints/t1-cyrillic.hints 4.14 -- "$@"
- fi
;;
abort-upgrade)
diff -Nru scalable-cyrfonts-4.14/debian/t1-oldslavic.maintscript
scalable-cyrfonts-4.14ubuntu1/debian/t1-oldslavic.maintscript
--- scalable-cyrfonts-4.14/debian/t1-oldslavic.maintscript 1970-01-01
01:00:00.000000000 +0100
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-oldslavic.maintscript
2012-02-13 14:29:28.000000000 +0000
@@ -0,0 +1,3 @@
+rm_conffile /etc/X11/fonts/X11R7/Type1/t1-oldslavic.scale 4.12+nmu1
+rm_conffile /etc/X11/fonts/X11R7/Type1/t1-oldslavic.alias 4.12+nmu1
+rm_conffile /etc/defoma/hints/t1-oldslavic.hints 4.14
diff -Nru scalable-cyrfonts-4.14/debian/t1-oldslavic.postinst
scalable-cyrfonts-4.14ubuntu1/debian/t1-oldslavic.postinst
--- scalable-cyrfonts-4.14/debian/t1-oldslavic.postinst 2011-11-29
12:24:13.000000000 +0000
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-oldslavic.postinst 2012-02-13
14:29:41.000000000 +0000
@@ -8,9 +8,5 @@
fc-cache /usr/share/fonts/X11/Type1
fi
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile /etc/defoma/hints/t1-oldslavic.hints
4.14 -- "$@"
-fi
-
#DEBHELPER#
diff -Nru scalable-cyrfonts-4.14/debian/t1-oldslavic.postrm
scalable-cyrfonts-4.14ubuntu1/debian/t1-oldslavic.postrm
--- scalable-cyrfonts-4.14/debian/t1-oldslavic.postrm 2011-11-29
12:24:13.000000000 +0000
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-oldslavic.postrm 2012-02-13
14:29:44.000000000 +0000
@@ -20,7 +20,3 @@
;;
esac
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile /etc/defoma/hints/t1-oldslavic.hints
4.14 -- "$@"
-fi
-
diff -Nru scalable-cyrfonts-4.14/debian/t1-oldslavic.preinst
scalable-cyrfonts-4.14ubuntu1/debian/t1-oldslavic.preinst
--- scalable-cyrfonts-4.14/debian/t1-oldslavic.preinst 2011-11-29
12:51:15.000000000 +0000
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-oldslavic.preinst 2012-02-13
14:29:38.000000000 +0000
@@ -2,32 +2,13 @@
set -e
-# Remove a no-longer used conffile
-rm_conffile() {
- CONFFILE="$1"
-
- if [ -e "$CONFFILE" ]; then
- echo "Removing obsolete conffile $CONFFILE ..."
- rm -f "$CONFFILE"
- fi
-}
-
case "$1" in
install|upgrade)
- # clear obsolete conffiles left from etch (4.10-0.1)
- if dpkg --compare-versions "$2" le "4.12+nmu1"; then
- rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-oldslavic.scale"
- rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-oldslavic.alias"
- fi
if dpkg --compare-versions "$2" lt 4.14; then
if [ -x "which defoma-font 2>/dev/null" ]; then
defoma-font purge /etc/defoma/hints/t1-oldslavic.hints
fi
fi
- if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile \
- /etc/defoma/hints/t1-oldslavic.hints 4.14 -- "$@"
- fi
;;
abort-upgrade)
diff -Nru scalable-cyrfonts-4.14/debian/t1-teams.maintscript
scalable-cyrfonts-4.14ubuntu1/debian/t1-teams.maintscript
--- scalable-cyrfonts-4.14/debian/t1-teams.maintscript 1970-01-01
01:00:00.000000000 +0100
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-teams.maintscript 2012-02-13
14:30:29.000000000 +0000
@@ -0,0 +1,3 @@
+rm_conffile /etc/X11/fonts/X11R7/Type1/t1-teams.scale 4.12+nmu1
+rm_conffile /etc/X11/fonts/X11R7/Type1/t1-teams.alias 4.12+nmu1
+rm_conffile /etc/defoma/hints/t1-teams.hints 4.14
diff -Nru scalable-cyrfonts-4.14/debian/t1-teams.postinst
scalable-cyrfonts-4.14ubuntu1/debian/t1-teams.postinst
--- scalable-cyrfonts-4.14/debian/t1-teams.postinst 2011-11-29
12:24:13.000000000 +0000
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-teams.postinst 2012-02-13
14:30:42.000000000 +0000
@@ -8,9 +8,5 @@
fc-cache /usr/share/fonts/X11/Type1
fi
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile /etc/defoma/hints/t1-teams.hints 4.14 --
"$@"
-fi
-
#DEBHELPER#
diff -Nru scalable-cyrfonts-4.14/debian/t1-teams.postrm
scalable-cyrfonts-4.14ubuntu1/debian/t1-teams.postrm
--- scalable-cyrfonts-4.14/debian/t1-teams.postrm 2011-11-29
12:24:13.000000000 +0000
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-teams.postrm 2012-02-13
14:30:47.000000000 +0000
@@ -20,7 +20,3 @@
;;
esac
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile /etc/defoma/hints/t1-teams.hints 4.14 --
"$@"
-fi
-
diff -Nru scalable-cyrfonts-4.14/debian/t1-teams.preinst
scalable-cyrfonts-4.14ubuntu1/debian/t1-teams.preinst
--- scalable-cyrfonts-4.14/debian/t1-teams.preinst 2011-11-29
12:51:43.000000000 +0000
+++ scalable-cyrfonts-4.14ubuntu1/debian/t1-teams.preinst 2012-02-13
14:30:40.000000000 +0000
@@ -2,32 +2,13 @@
set -e
-# Remove a no-longer used conffile
-rm_conffile() {
- CONFFILE="$1"
-
- if [ -e "$CONFFILE" ]; then
- echo "Removing obsolete conffile $CONFFILE ..."
- rm -f "$CONFFILE"
- fi
-}
-
case "$1" in
install|upgrade)
- # clear obsolete conffiles left from etch (4.10-0.1)
- if dpkg --compare-versions "$2" le "4.12+nmu1"; then
- rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-teams.scale"
- rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-teams.alias"
- fi
if dpkg --compare-versions "$2" lt 4.14; then
if [ -x "which defoma-font 2>/dev/null" ]; then
defoma-font purge /etc/defoma/hints/t1-teams.hints
fi
fi
- if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
- dpkg-maintscript-helper rm_conffile \
- /etc/defoma/hints/t1-teams.hints 4.14 -- "$@"
- fi
;;
abort-upgrade)
Thanks,
--
Colin Watson [[email protected]]
--- End Message ---
--- Begin Message ---
Source: scalable-cyrfonts
Source-Version: 4.15
We believe that the bug you reported is fixed in the latest version of
scalable-cyrfonts, which is due to be installed in the Debian FTP archive:
scalable-cyrfonts-tex_4.15_all.deb
to main/s/scalable-cyrfonts/scalable-cyrfonts-tex_4.15_all.deb
scalable-cyrfonts_4.15.dsc
to main/s/scalable-cyrfonts/scalable-cyrfonts_4.15.dsc
scalable-cyrfonts_4.15.tar.gz
to main/s/scalable-cyrfonts/scalable-cyrfonts_4.15.tar.gz
t1-cyrillic_4.15_all.deb
to main/s/scalable-cyrfonts/t1-cyrillic_4.15_all.deb
t1-oldslavic_4.15_all.deb
to main/s/scalable-cyrfonts/t1-oldslavic_4.15_all.deb
t1-teams_4.15_all.deb
to main/s/scalable-cyrfonts/t1-teams_4.15_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anton Zinoviev <[email protected]> (supplier of updated scalable-cyrfonts
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 13 Feb 2012 21:43:38 +0200
Source: scalable-cyrfonts
Binary: t1-cyrillic t1-teams t1-oldslavic scalable-cyrfonts-tex
Architecture: source all
Version: 4.15
Distribution: unstable
Urgency: low
Maintainer: Anton Zinoviev <[email protected]>
Changed-By: Anton Zinoviev <[email protected]>
Description:
scalable-cyrfonts-tex - Scalable Cyrillic fonts for TeX
t1-cyrillic - A basic set of free PostScript fonts
t1-oldslavic - OldSlavic -- a Cyrillic Type1 font with medieval design
t1-teams - Teams -- a PostScript font covering ASCII and basic Cyrillic
Closes: 659741
Changes:
scalable-cyrfonts (4.15) unstable; urgency=low
.
* Use maintscript support in dh_installdeb rather than writing out
dpkg-maintscript-helper commands by hand. We now simply Pre-Depend on
a new enough version of dpkg rather than using
'dpkg-maintscript-helper supports' guards, leading to more predictable
behaviour on upgrades. Patch provided by Colin Watson, closes: #659741.
Checksums-Sha1:
7cb25f718b4334aa2681aabf7bf4e6f673486ec5 911 scalable-cyrfonts_4.15.dsc
e995d5453b06e3fd8afcbf4687a01e4bdf9c2339 8756674 scalable-cyrfonts_4.15.tar.gz
a867cf4be0eb9dcaeea63d63b97c4b73aba2af93 3619138 t1-cyrillic_4.15_all.deb
c9aabff763c988eb3b05fca369ed74320e0ed061 105022 t1-teams_4.15_all.deb
c421cdddf41ddf455e8cae87ae6094e75d785b20 36470 t1-oldslavic_4.15_all.deb
e8c662821405b2860f4a19c33778e10b8537ecf8 8416970
scalable-cyrfonts-tex_4.15_all.deb
Checksums-Sha256:
980c31558f3ba89cd5ea6e180ec955cd7f23774eb4d4e7213bfbf4b11e08d3cc 911
scalable-cyrfonts_4.15.dsc
a3381cfef7ed07207c21985831e62d99933614e477082f2f0e03ddb49c7e9ce7 8756674
scalable-cyrfonts_4.15.tar.gz
8896a6635a4883dd1a36ac27af291b92e6a8f9bee4f2209294feb93dc5bf7d6d 3619138
t1-cyrillic_4.15_all.deb
5771b79a8329ff792b4b43bffe9dcab671226ff56f73896969ad6d11c118bfb4 105022
t1-teams_4.15_all.deb
af6585e3459662dca78cf48c14ba1b0235cdf3f58753464ead10256cf1ea65c8 36470
t1-oldslavic_4.15_all.deb
cf53d4e08b63adc1e4b99d256e0f75cf72119eba70ad6ca13f0a335e059614b1 8416970
scalable-cyrfonts-tex_4.15_all.deb
Files:
8dd0f3cd1f7d719af18741a631ab2673 911 text optional scalable-cyrfonts_4.15.dsc
6f6af2811b1cc8c6a153cc5b20b94b4b 8756674 text optional
scalable-cyrfonts_4.15.tar.gz
21eb5e8e73580d8cf0aa7cfc173baf47 3619138 x11 optional t1-cyrillic_4.15_all.deb
f3e541aff474d45fc3ef57f9ead77141 105022 x11 optional t1-teams_4.15_all.deb
f5453aef62dac0d7867dc9aadfe024a3 36470 text optional t1-oldslavic_4.15_all.deb
62e865b408858c7af0cf90a4ba83b8a9 8416970 tex optional
scalable-cyrfonts-tex_4.15_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFPOWyKJP1eZJv0KwcRAsDjAJ98IVU3JLEXHXwyj/8t0pJTt70VnQCfdWeF
PVH2tVr923nTbpQqDiuhkLA=
=jwLK
-----END PGP SIGNATURE-----
--- End Message ---