Your message dated Fri, 22 Feb 2013 12:28:13 +0100
with message-id <5127564d.5030...@thykier.net>
and subject line Re: Bug#701005: unblock: fonts-hanazono/20120421-1.1
has caused the Debian Bug report #701005,
regarding unblock: fonts-hanazono/20120421-1.1
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 ow...@bugs.debian.org
immediately.)
--
701005: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701005
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
Please unblock package fonts-hanazono
fonts-hanazono does not clean up old ttf-japanese-*.ttf alternatives on
upgrades from squeeze.
* ttf-hanazono.preinst: Unregister the ttf-japanese-mincho.ttf alternative.
* fonts-hanazono.preinst: Clean up the ttf-japanese-mincho.ttf alternative
set up by ttf-hanazono in squeeze. This needs to be done in fonts-hanazono
as well since there is no guarantee that the transitional ttf-hanazono
package was installed and did clean this up. Since new installations of
fonts-hanazono cannot be distinguished from "upgrades" from ttf-hanazono
this needs to be run on new installations, too. (Closes: #700058)
unblock fonts-hanazono/20120421-1.1
diffstat for fonts-hanazono-20120421 fonts-hanazono-20120421
changelog | 13 +++++++++++++
fonts-hanazono.preinst | 9 +++++++++
ttf-hanazono.preinst | 13 +++++++++++++
3 files changed, 35 insertions(+)
diff -Nru fonts-hanazono-20120421/debian/changelog fonts-hanazono-20120421/debian/changelog
--- fonts-hanazono-20120421/debian/changelog 2012-05-29 10:59:35.000000000 +0200
+++ fonts-hanazono-20120421/debian/changelog 2013-02-11 14:57:21.000000000 +0100
@@ -1,3 +1,16 @@
+fonts-hanazono (20120421-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * ttf-hanazono.preinst: Unregister the ttf-japanese-mincho.ttf alternative.
+ * fonts-hanazono.preinst: Clean up the ttf-japanese-mincho.ttf alternative
+ set up by ttf-hanazono in squeeze. This needs to be done in fonts-hanazono
+ as well since there is no guarantee that the transitional ttf-hanazono
+ package was installed and did clean this up. Since new installations of
+ fonts-hanazono cannot be distinguished from "upgrades" from ttf-hanazono
+ this needs to be run on new installations, too. (Closes: #700058)
+
+ -- Andreas Beckmann <a...@debian.org> Mon, 11 Feb 2013 14:56:52 +0100
+
fonts-hanazono (20120421-1) unstable; urgency=low
* New upstream release.
diff -Nru fonts-hanazono-20120421/debian/fonts-hanazono.preinst fonts-hanazono-20120421/debian/fonts-hanazono.preinst
--- fonts-hanazono-20120421/debian/fonts-hanazono.preinst 2012-03-06 00:23:39.000000000 +0100
+++ fonts-hanazono-20120421/debian/fonts-hanazono.preinst 2013-02-11 14:57:43.000000000 +0100
@@ -2,6 +2,9 @@
set -e
+OLD_ALT_NAME="ttf-japanese-mincho"
+OLD_FONT_ENTRY="/usr/share/fonts/truetype/hanazono/hanazono.ttf"
+
PKG="ttf-hanazono"
PKG_VERSION_DEFOMA="20090909-1"
@@ -34,6 +37,12 @@
rm_conffile $PKG $FILE
fi
+ # do this on new installations, too, as these could be "upgrades"
+ # from ttf-hanazono
+ if dpkg --compare-versions "$2" lt "20120421-1.1~"; then
+ update-alternatives --remove $OLD_ALT_NAME.ttf $OLD_FONT_ENTRY
+ fi
+
esac
#DEBHELPER#
diff -Nru fonts-hanazono-20120421/debian/ttf-hanazono.preinst fonts-hanazono-20120421/debian/ttf-hanazono.preinst
--- fonts-hanazono-20120421/debian/ttf-hanazono.preinst 1970-01-01 01:00:00.000000000 +0100
+++ fonts-hanazono-20120421/debian/ttf-hanazono.preinst 2013-02-11 14:57:54.000000000 +0100
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+OLD_ALT_NAME="ttf-japanese-mincho"
+OLD_FONT_ENTRY="/usr/share/fonts/truetype/hanazono/hanazono.ttf"
+
+if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
+ if dpkg --compare-versions "$2" lt-nl "20120421-1.1~"; then
+ update-alternatives --remove $OLD_ALT_NAME.ttf $OLD_FONT_ENTRY
+ fi
+fi
+
+#DEBHELPER#
--- End Message ---
--- Begin Message ---
On 2013-02-20 11:47, Andreas Beckmann wrote:
> Package: release.debian.org
> Severity: normal
> User: release.debian....@packages.debian.org
> Usertags: unblock
>
> Please unblock package fonts-hanazono
>
> fonts-hanazono does not clean up old ttf-japanese-*.ttf alternatives on
> upgrades from squeeze.
>
> * ttf-hanazono.preinst: Unregister the ttf-japanese-mincho.ttf alternative.
> * fonts-hanazono.preinst: Clean up the ttf-japanese-mincho.ttf alternative
> set up by ttf-hanazono in squeeze. This needs to be done in fonts-hanazono
> as well since there is no guarantee that the transitional ttf-hanazono
> package was installed and did clean this up. Since new installations of
> fonts-hanazono cannot be distinguished from "upgrades" from ttf-hanazono
> this needs to be run on new installations, too. (Closes: #700058)
>
> unblock fonts-hanazono/20120421-1.1
Unblocked, thanks.
~Niels
--- End Message ---