Your message dated Tue, 06 Mar 2012 10:17:50 +0000
with message-id <[email protected]>
and subject line Bug#659721: fixed in lyx 2.0.3-1
has caused the Debian Bug report #659721,
regarding ttf-lyx: 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.)
--
659721: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659721
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ttf-lyx
Version: 2.0.2-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-lyx.
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'd no longer need to have handwritten maintainer scripts at
all. 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 lyx-2.0.2/debian/control lyx-2.0.2/debian/control
--- lyx-2.0.2/debian/control 2011-10-31 09:32:56.000000000 +0000
+++ lyx-2.0.2/debian/control 2012-02-13 12:51:09.000000000 +0000
@@ -7,7 +7,7 @@
Vcs-Git: git://anonscm.debian.org/pkg-lyx/lyx.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-lyx/lyx.git
Homepage: http://www.lyx.org/
-Build-Depends: python (>= 2.6.6-3), debhelper (>= 8),
+Build-Depends: python (>= 2.6.6-3), debhelper (>= 8.1.0~),
libz-dev, libx11-dev, libenchant-dev, libmythes-dev,
autotools-dev, libqt4-dev, libboost-dev,
libboost-filesystem-dev, libboost-signals-dev,
@@ -54,6 +54,7 @@
Package: ttf-lyx
Architecture: all
Section: fonts
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}
Description: TrueType versions of some TeX fonts
These fonts are needed for the visual math symbol display in
diff -Nru lyx-2.0.2/debian/ttf-lyx.maintscript
lyx-2.0.2/debian/ttf-lyx.maintscript
--- lyx-2.0.2/debian/ttf-lyx.maintscript 1970-01-01 01:00:00.000000000
+0100
+++ lyx-2.0.2/debian/ttf-lyx.maintscript 2012-02-13 12:50:38.000000000
+0000
@@ -0,0 +1 @@
+rm_conffile /etc/defoma/hints/ttf-lyx.hints 2.0.0~rc1-1
diff -Nru lyx-2.0.2/debian/ttf-lyx.postinst lyx-2.0.2/debian/ttf-lyx.postinst
--- lyx-2.0.2/debian/ttf-lyx.postinst 2011-10-18 10:50:02.000000000 +0100
+++ lyx-2.0.2/debian/ttf-lyx.postinst 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-set -e
-
-CFILE='/etc/defoma/hints/ttf-lyx.hints'
-dpkg-maintscript-helper rm_conffile $CFILE 2.0.0~rc1-1 -- "$@"
-
-#DEBHELPER#
diff -Nru lyx-2.0.2/debian/ttf-lyx.postrm lyx-2.0.2/debian/ttf-lyx.postrm
--- lyx-2.0.2/debian/ttf-lyx.postrm 2011-10-18 10:50:02.000000000 +0100
+++ lyx-2.0.2/debian/ttf-lyx.postrm 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-set -e
-
-CFILE='/etc/defoma/hints/ttf-lyx.hints'
-dpkg-maintscript-helper rm_conffile $CFILE 2.0.0~beta4-1 -- "$@"
-
-#DEBHELPER#
diff -Nru lyx-2.0.2/debian/ttf-lyx.preinst lyx-2.0.2/debian/ttf-lyx.preinst
--- lyx-2.0.2/debian/ttf-lyx.preinst 2011-10-18 10:50:02.000000000 +0100
+++ lyx-2.0.2/debian/ttf-lyx.preinst 1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-CFILE='/etc/defoma/hints/ttf-lyx.hints'
-if dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile $CFILE 2.0.0~beta4-1 -- "$@"
-fi
-
-#DEBHELPER#
Thanks,
--
Colin Watson [[email protected]]
--- End Message ---
--- Begin Message ---
Source: lyx
Source-Version: 2.0.3-1
We believe that the bug you reported is fixed in the latest version of
lyx, which is due to be installed in the Debian FTP archive:
fonts-lyx_2.0.3-1_all.deb
to main/l/lyx/fonts-lyx_2.0.3-1_all.deb
lyx-common_2.0.3-1_all.deb
to main/l/lyx/lyx-common_2.0.3-1_all.deb
lyx_2.0.3-1.debian.tar.gz
to main/l/lyx/lyx_2.0.3-1.debian.tar.gz
lyx_2.0.3-1.dsc
to main/l/lyx/lyx_2.0.3-1.dsc
lyx_2.0.3-1_i386.deb
to main/l/lyx/lyx_2.0.3-1_i386.deb
lyx_2.0.3.orig.tar.xz
to main/l/lyx/lyx_2.0.3.orig.tar.xz
ttf-lyx_2.0.3-1_all.deb
to main/l/lyx/ttf-lyx_2.0.3-1_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.
Per Olofsson <[email protected]> (supplier of updated lyx 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: Sun, 04 Mar 2012 17:12:53 +0100
Source: lyx
Binary: lyx lyx-common fonts-lyx ttf-lyx
Architecture: source i386 all
Version: 2.0.3-1
Distribution: unstable
Urgency: low
Maintainer: Debian LyX Maintainers <[email protected]>
Changed-By: Per Olofsson <[email protected]>
Description:
fonts-lyx - TrueType versions of some TeX fonts used by LyX
lyx - document processor
lyx-common - architecture-independent files for LyX
ttf-lyx - transitional package
Closes: 659721
Changes:
lyx (2.0.3-1) unstable; urgency=low
.
* New upstream release.
* 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. Thanks to Colin Watson. Closes: #659721.
* Use debhelper v9 mode.
* Use xz source tarballs.
* Make /usr/share/lyx/scripts/listerrors executable.
* Rename ttf-lyx to fonts-lyx.
* Bump Standards-Version to 3.9.3. No changes.
* Make a symlink from /usr/share/bash-completion/completions/lyx to
the installed completion file and remove /etc/bash_completion.d/lyx.
Checksums-Sha1:
95f6d4032e8d8799d80dde88a6aab102c0d34a91 1613 lyx_2.0.3-1.dsc
109dae0ef22a7d8944964b32ee380ad170b0665f 10265532 lyx_2.0.3.orig.tar.xz
4aa970c125c152c71d55c3d9cf7f3f5ab1643126 26409 lyx_2.0.3-1.debian.tar.gz
ac2a087d2b3da3b0f935bc81639c569c22700a97 3208776 lyx_2.0.3-1_i386.deb
4325e0affb6086a93a61198b0291fb2671e401bd 5875418 lyx-common_2.0.3-1_all.deb
97ad4c728a612e55c8dd1ea370f08a6ec5ad0766 166798 fonts-lyx_2.0.3-1_all.deb
92a7589e8eb9acfb4971a7cb3d355f4812bcaa16 22884 ttf-lyx_2.0.3-1_all.deb
Checksums-Sha256:
04d1796a64df2d8f5592a9524997ae4a0ab08ae19a9f83cf5f5ef599f917279b 1613
lyx_2.0.3-1.dsc
4e1c993754acfb14d5e0f2bd2521fb6686d08e0656ec6e5fde0406c285a05ac8 10265532
lyx_2.0.3.orig.tar.xz
ae97ca78ea7b886a95d732eeab2018ccf1ce161ffb590c83b53b32f86417e97c 26409
lyx_2.0.3-1.debian.tar.gz
cf4a2e02deb60ad89d6bdf6485c0a7199632cc0a568bccb42187c152b2b11a29 3208776
lyx_2.0.3-1_i386.deb
1e014480749c014952e8563425b42d55eee35bb6e8aef6538b9d685e5df27b6e 5875418
lyx-common_2.0.3-1_all.deb
c8d265d95b0204a68add8b19eec923d222947b491280496b8c99eea5d25b6755 166798
fonts-lyx_2.0.3-1_all.deb
939ac813eaf7608905a945b5861570b502ba5df2125e4922abcd64dc3b4e69b1 22884
ttf-lyx_2.0.3-1_all.deb
Files:
939bf5e0c4fb11b6c68cfe94967d1750 1613 editors optional lyx_2.0.3-1.dsc
10b94117d95e33e0628204b56185ed2d 10265532 editors optional
lyx_2.0.3.orig.tar.xz
3ed35b041b01c4314bdb07872fdd7ef4 26409 editors optional
lyx_2.0.3-1.debian.tar.gz
ec3a821d6426aca4228d344a35b97332 3208776 editors optional lyx_2.0.3-1_i386.deb
ac568ae3f4e18402a698056c73eeeed2 5875418 editors optional
lyx-common_2.0.3-1_all.deb
1a8b122dc39c48a77e5ed5c55605dcfb 166798 fonts optional
fonts-lyx_2.0.3-1_all.deb
462ce0aa0d0cc08ad3f446e7927009b1 22884 oldlibs extra ttf-lyx_2.0.3-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk9TmjMACgkQeDAsS42/7C+xQACfex/Jak60ucbMKId5UwFVbJrg
bQgAoNxLxYpEuPq+C17b0fLXv9HXbM90
=s078
-----END PGP SIGNATURE-----
--- End Message ---