Your message dated Fri, 17 Jul 2020 10:00:24 +0000
with message-id <[email protected]>
and subject line Bug#659726: fixed in sjfonts 2.1-1
has caused the Debian Bug report #659726,
regarding ttf-sjfonts: 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.)


-- 
659726: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659726
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ttf-sjfonts
Version: 2.0.2-1.1
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 ttf-sjfonts.
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 -
in fact, you could remove two of your handwritten maintainer scripts
entirely.  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 sjfonts-2.0.2/debian/control sjfonts-2.0.2/debian/control
--- sjfonts-2.0.2/debian/control        2011-12-10 13:08:11.000000000 +0000
+++ sjfonts-2.0.2/debian/control        2012-02-13 13:21:59.000000000 +0000
@@ -2,11 +2,12 @@
 Section: fonts
 Priority: optional
 Maintainer: Daniel Schepler <[email protected]>
-Build-Depends-Indep: debhelper (>= 8), fontforge-nox|fontforge
+Build-Depends-Indep: debhelper (>= 8.1.0~), fontforge-nox|fontforge
 Standards-Version: 3.9.2
 
 Package: ttf-sjfonts
 Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}
 Description: Some Juicy Fonts handwriting fonts
  This package contains two handwriting fonts created by Steve Jordi,
diff -Nru sjfonts-2.0.2/debian/maintscript sjfonts-2.0.2/debian/maintscript
--- sjfonts-2.0.2/debian/maintscript    1970-01-01 01:00:00.000000000 +0100
+++ sjfonts-2.0.2/debian/maintscript    2012-02-13 13:21:00.000000000 +0000
@@ -0,0 +1 @@
+rm_conffile /etc/defoma/hints/ttf-sjfonts.hints 2.0.2-2
diff -Nru sjfonts-2.0.2/debian/postinst sjfonts-2.0.2/debian/postinst
--- sjfonts-2.0.2/debian/postinst       2011-12-10 12:59:25.000000000 +0000
+++ sjfonts-2.0.2/debian/postinst       1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
-  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-sjfonts.hints 
2.0.2-2 -- "$@"
-fi
-
-#DEBHELPER#
diff -Nru sjfonts-2.0.2/debian/postrm sjfonts-2.0.2/debian/postrm
--- sjfonts-2.0.2/debian/postrm 2011-12-10 12:59:25.000000000 +0000
+++ sjfonts-2.0.2/debian/postrm 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
-  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-sjfonts.hints 
2.0.2-2 -- "$@"
-fi
-
-#DEBHELPER#
diff -Nru sjfonts-2.0.2/debian/preinst sjfonts-2.0.2/debian/preinst
--- sjfonts-2.0.2/debian/preinst        2011-12-10 12:59:24.000000000 +0000
+++ sjfonts-2.0.2/debian/preinst        2012-02-13 13:21:11.000000000 +0000
@@ -9,8 +9,4 @@
 fi
 
 
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
-  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-sjfonts.hints 
2.0.2-2 -- "$@"
-fi
-
 #DEBHELPER#

Thanks,

-- 
Colin Watson                                       [[email protected]]



--- End Message ---
--- Begin Message ---
Source: sjfonts
Source-Version: 2.1-1
Done: Hideki Yamane <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sjfonts, which is due to be installed in the Debian FTP archive.

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.
Hideki Yamane <[email protected]> (supplier of updated sjfonts 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: SHA512

Format: 1.8
Date: Wed, 15 Jul 2020 19:56:48 +0900
Source: sjfonts
Binary: fonts-sjfonts ttf-sjfonts
Architecture: source all
Version: 2.1-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Fonts Task Force <[email protected]>
Changed-By: Hideki Yamane <[email protected]>
Description:
 fonts-sjfonts - Some Juicy Fonts handwriting fonts
 ttf-sjfonts - Some Juicy Fonts handwriting fonts (dummy package)
Closes: 659726 918082
Changes:
 sjfonts (2.1-1) experimental; urgency=medium
 .
   * New upstream release (Closes: #918082)
   * debian/control
     - Drop debhelperu and set debhelper-compat (= 13)
     - Set Standards-Version: 4.5.0
     - Add Vcs-*, Homepage: and Rules-Requires-Root: no
     - Set ttf-sjfonts as transition package and add fonts-sjfonts
     - Drop debian/compat and debhelper, then set debhelper-compat (= 13)
     - Set Multi-Arch: foreign on package fonts-sjfonts.
   * debian/changelog
     - Trim trailing whitespace.
   * debian/watch
     - use v4 syntax and https
   * Drop unnecessary debian{postinst,postrm,preinst} (Closes: #659726)
Checksums-Sha1:
 a291b19e0557a307ba2e01116a4f9f91fd1a67b8 2035 sjfonts_2.1-1.dsc
 093d350489d971f986646b6f6f4c031cd4be9da1 295463 sjfonts_2.1.orig.tar.bz2
 27730dd8c4dd3955ecb7489094b5d3fc1f46fd9d 3304 sjfonts_2.1-1.debian.tar.xz
 63bd9d89497fe1890e211f2d34c7b5910be2476e 98260 fonts-sjfonts_2.1-1_all.deb
 7be11ff52c5f47602ed3838d9e1ef28ee4da5b7f 9567 sjfonts_2.1-1_amd64.buildinfo
 ece5cb23800874cfa7963563d8efafa9be010e1d 2884 ttf-sjfonts_2.1-1_all.deb
Checksums-Sha256:
 500c175a1f9f814642ad504b45f80496478489e46fd1f6b7fcba766cb20af17b 2035 
sjfonts_2.1-1.dsc
 3a3e4d97224fb126efd3e8ee1ae94c772e673c894f4ec9fb13c1273de6d0f391 295463 
sjfonts_2.1.orig.tar.bz2
 e8cc00d722fbe6806c5ff5621127a2f76b89a1a1281b140dda126b6330b89389 3304 
sjfonts_2.1-1.debian.tar.xz
 19fb510b7bffd3d2eb45e2874f9a8fe3c292c35a831ae1ceb362ffb0936eadbc 98260 
fonts-sjfonts_2.1-1_all.deb
 93ed29d1925f84ad85c66b7f3ba44bc3e6b95dcd7c5873879f154cd69cb4a0da 9567 
sjfonts_2.1-1_amd64.buildinfo
 9384998b11775dc607dde55775b2340b6b6723f086328fdfffa738f480170d40 2884 
ttf-sjfonts_2.1-1_all.deb
Files:
 22b7aa461b4f6d7a8916602cb469efff 2035 fonts optional sjfonts_2.1-1.dsc
 19dc9900061f333a9a368b780fda49bd 295463 fonts optional sjfonts_2.1.orig.tar.bz2
 c7846a64c33592d65cbf001bc6c9cdae 3304 fonts optional 
sjfonts_2.1-1.debian.tar.xz
 03c8cbfd1dbfebf3ebd3c4b91aa61e76 98260 fonts optional 
fonts-sjfonts_2.1-1_all.deb
 72f7eb08f0773548b9e99da3bb8df756 9567 fonts optional 
sjfonts_2.1-1_amd64.buildinfo
 b51d252de6a216eadb4163019c30ab71 2884 fonts optional ttf-sjfonts_2.1-1_all.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEWOEiL5aWyIWjzRBMXTKNCCqqsUAFAl8O7SoACgkQXTKNCCqq
sUDCdQ//cM7gnFPcLemWuk5AhR7vU0J3ggtaJkreeScA/7hEu9IgfmnEhW/uATZh
2EgrtI+LhJwwouidQuA6FhMlRvVNJ+STaoy+uwEsp9A6M4jVxj6D+BsT//exwrPj
ggtznkAiUxo0WsGFx92sUFRtQ+yQyljNfyACnrzcXsPNZOVWKtNNHzxXbEH9aJ3O
wA6y0E5mr7fMWDTBGo1SMEmW1v3esfl6ez+vaxgPBzuSbCV2aEiKPzUYokBYABjp
14rRA/WZptTLflrkn5XKAOvOWYOD2CtneOGvXK5iw5Mu3OuJd4bqCLPQ5jcIeVD2
Saog0ZvnZd+q/6CFQR66mClnZYaz+MsmOvLJNbPY+0VPJeQPrcciM3wP8e8WrC8v
cjhr7u15BN7AjEc22NekERfijgBrQck/oufxUCYw8EsO7VEaa6h3WEtEvEfk3cyu
obJ1Wnj32GFS1yfN3LLleCf3GrW1qQ3IKvHuNXh96e4BdhP9JIm5fUDOreVr9nr7
LUvhFugqEMLMM0JZYzLNaTqt+qmk1bEbLr2R4QrQCgBRojZxZRDub6hjtaGH9FPV
lEbg3cDUp8U/tajNAfyu8kbefTxhP0ksBNm8EHdOWXHh6cC2mDldZ7vpGmERNg0j
qApSMnwjCQ+uQrRXsWvRt4N+VJGwuqXSlXyZgFiHL/urUbX2KFE=
=gE4C
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to