[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-fonts-devel] Bug#700722: marked as done (ttf-ipafont: removing ttf-ipafont unregisters alternatives created by ttf-ipafont-{gothic, mincho})



Your message dated Sun, 17 Feb 2013 19:32:04 +0000
with message-id <E1U79y0-0007gD-VX@franck.debian.org>
and subject line Bug#700722: fixed in ttf-ipafont 00203-16+squeeze1
has caused the Debian Bug report #700722,
regarding ttf-ipafont: removing ttf-ipafont unregisters alternatives created by ttf-ipafont-{gothic, mincho}
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 owner@bugs.debian.org
immediately.)


-- 
700722: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700722
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ttf-ipafont
Version: 00203-16
Severity: important
Tags: patch
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package mishandles the
alternatives it creates: ttf-ipafont-{gothic,mincho}.postinst register
the current alternatives, but ttf-ipafont.prerm unregisters them. That
is probably an oversight from splitting the package.

>From the attached log (scroll to the bottom...):

0m16.5s ERROR: FAIL: After purging files have disappeared:
  /etc/alternatives/ttf-japanese-gothic.ttf -> /usr/share/fonts/truetype/ipafont/ipag.ttf	 not owned
  /etc/alternatives/ttf-japanese-mincho.ttf -> /usr/share/fonts/truetype/ipafont/ipam.ttf	 not owned
  /usr/share/fonts/truetype/ttf-japanese-gothic.ttf -> /etc/alternatives/ttf-japanese-gothic.ttf	 not owned
  /usr/share/fonts/truetype/ttf-japanese-mincho.ttf -> /etc/alternatives/ttf-japanese-mincho.ttf	 not owned

I'm attaching a patch to fix this and will ask for fixing this via
s-p-u. In that case I'd NMU ttf-ipafont with a DELAYED/1 upload to get
into p-u-NEW before Monday to have it included in the next point
release.

If you have any objections, please let me know.

All install and upgrade paths affecting lenny/squeeze have been
successfully tested with piuparts, incuding the previously failing
--install-purge-install test.

Andreas
diffstat for ttf-ipafont-00203 ttf-ipafont-00203

 changelog                |    8 ++++++++
 ttf-ipafont-gothic.prerm |   11 +++++++++++
 ttf-ipafont-mincho.prerm |   11 +++++++++++
 ttf-ipafont.prerm        |    3 ---
 4 files changed, 30 insertions(+), 3 deletions(-)

diff -Nru ttf-ipafont-00203/debian/changelog ttf-ipafont-00203/debian/changelog
--- ttf-ipafont-00203/debian/changelog	2010-07-21 17:47:51.000000000 +0200
+++ ttf-ipafont-00203/debian/changelog	2013-02-16 17:27:53.000000000 +0100
@@ -1,3 +1,11 @@
+ttf-ipafont (00203-16+squeeze1) stable; urgency=low
+
+  * Non-maintainer upload.
+  * ttf-ipafont.prerm: Move removal of the current alternatives to
+    ttf-ipafont-{gothic,mincho}.prerm as their postinst creates them.
+
+ -- Andreas Beckmann <anbe@debian.org>  Sat, 16 Feb 2013 17:27:53 +0100
+
 ttf-ipafont (00203-16) unstable; urgency=low
 
   * debian/control
diff -Nru ttf-ipafont-00203/debian/ttf-ipafont-gothic.prerm ttf-ipafont-00203/debian/ttf-ipafont-gothic.prerm
--- ttf-ipafont-00203/debian/ttf-ipafont-gothic.prerm	1970-01-01 01:00:00.000000000 +0100
+++ ttf-ipafont-00203/debian/ttf-ipafont-gothic.prerm	2013-02-16 17:24:12.000000000 +0100
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+ALT_GOTHIC_NAME="ttf-japanese-gothic"
+GOTHIC_FONT_ENTRY="/usr/share/fonts/truetype/ipafont/ipag.ttf"
+
+if [ "$1" = "remove" ]; then
+        update-alternatives --remove $ALT_GOTHIC_NAME.ttf $GOTHIC_FONT_ENTRY
+fi
+
+#DEBHELPER#
diff -Nru ttf-ipafont-00203/debian/ttf-ipafont-mincho.prerm ttf-ipafont-00203/debian/ttf-ipafont-mincho.prerm
--- ttf-ipafont-00203/debian/ttf-ipafont-mincho.prerm	1970-01-01 01:00:00.000000000 +0100
+++ ttf-ipafont-00203/debian/ttf-ipafont-mincho.prerm	2013-02-16 17:24:20.000000000 +0100
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+ALT_MINCHO_NAME="ttf-japanese-mincho"
+MINCHO_FONT_ENTRY="/usr/share/fonts/truetype/ipafont/ipam.ttf"
+
+if [ "$1" = "remove" ]; then
+        update-alternatives --remove $ALT_MINCHO_NAME.ttf $MINCHO_FONT_ENTRY
+fi
+
+#DEBHELPER#
diff -Nru ttf-ipafont-00203/debian/ttf-ipafont.prerm ttf-ipafont-00203/debian/ttf-ipafont.prerm
--- ttf-ipafont-00203/debian/ttf-ipafont.prerm	2009-12-12 08:43:44.000000000 +0100
+++ ttf-ipafont-00203/debian/ttf-ipafont.prerm	2013-02-16 17:24:40.000000000 +0100
@@ -39,9 +39,6 @@
           rm /usr/share/fonts/truetype/$ALT_MINCHO_NAME
         fi
 
-        update-alternatives --remove $ALT_GOTHIC_NAME.ttf $GOTHIC_FONT_ENTRY
-        update-alternatives --remove $ALT_MINCHO_NAME.ttf $MINCHO_FONT_ENTRY
-
         ;;
 
     failed-upgrade)

Attachment: ttf-ipafont_00203-16.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: ttf-ipafont
Source-Version: 00203-16+squeeze1

We believe that the bug you reported is fixed in the latest version of
ttf-ipafont, 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 700722@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated ttf-ipafont 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 16 Feb 2013 18:42:28 +0100
Source: ttf-ipafont
Binary: ttf-ipafont ttf-ipafont-gothic ttf-ipafont-mincho ttf-ipafont-uigothic
Architecture: source all
Version: 00203-16+squeeze1
Distribution: stable
Urgency: low
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description: 
 ttf-ipafont - Japanese TrueType font, IPAfont (meta package)
 ttf-ipafont-gothic - Japanese TrueType font, IPAfont Gothic and IPA P Gothic
 ttf-ipafont-mincho - Japanese TrueType font, IPAfont Mincho and IPA P Mincho
 ttf-ipafont-uigothic - Japanese TrueType font, IPAfont UI Gothic
Closes: 700722
Changes: 
 ttf-ipafont (00203-16+squeeze1) stable; urgency=low
 .
   * Non-maintainer upload.
   * ttf-ipafont.prerm: Move removal of the current alternatives to
     ttf-ipafont-{gothic,mincho}.prerm as their postinst creates them.
     (Closes: #700722)
Checksums-Sha1: 
 6bfab6ca44e6017b72cc126433f1c5442cbf7d30 2065 ttf-ipafont_00203-16+squeeze1.dsc
 aea83eaa7e9f0f55cd7abf3642545c9012193687 11612 ttf-ipafont_00203-16+squeeze1.debian.tar.gz
 d17044ab28123c5b57de62a984916c392ebed8e9 11308 ttf-ipafont_00203-16+squeeze1_all.deb
 d08ba12fd5a3357baea2cbfa944be6fa7e5ec7cf 5888046 ttf-ipafont-gothic_00203-16+squeeze1_all.deb
 267faca50b4abcefc6abe7e034410120a42f5ade 7175578 ttf-ipafont-mincho_00203-16+squeeze1_all.deb
 70a46f1fec2b2eda7b970ce5838a67d9486a0a96 2949502 ttf-ipafont-uigothic_00203-16+squeeze1_all.deb
Checksums-Sha256: 
 a477a5cda5c2ebfdc2860f314a0a335a26ad5ac06ec7500af7473dcf8b31338f 2065 ttf-ipafont_00203-16+squeeze1.dsc
 e579f7926b3da1852ebb70589d4f880866927bf147ed5a246bf725ae1dcf689c 11612 ttf-ipafont_00203-16+squeeze1.debian.tar.gz
 c5b1789e200d46d678f85a35e1df8ba9eb7fdd71f333b9415b91c882f627d170 11308 ttf-ipafont_00203-16+squeeze1_all.deb
 3a6c314461542d99f8375925c4184441834e8c5f3c406907a7a651ec427e9c66 5888046 ttf-ipafont-gothic_00203-16+squeeze1_all.deb
 fe69af72bb4185ea8927ec4ca3b233df12e3ce739ee082e09c830d26ce707555 7175578 ttf-ipafont-mincho_00203-16+squeeze1_all.deb
 5a5efddd9a6c87b6cc502da2364b8c078b1c86843fb9b7e2b68ba579523b7a71 2949502 ttf-ipafont-uigothic_00203-16+squeeze1_all.deb
Files: 
 a3a5b96ac91917002ca780db9ba4073f 2065 non-free/fonts extra ttf-ipafont_00203-16+squeeze1.dsc
 5e7c4e2382e9e8b9139b1c6fe9ac3706 11612 non-free/fonts extra ttf-ipafont_00203-16+squeeze1.debian.tar.gz
 ef02fdf2bbf2952645fb48f5377db775 11308 non-free/fonts extra ttf-ipafont_00203-16+squeeze1_all.deb
 b1a0b5b96c0e06623e85623b23e2caa2 5888046 non-free/fonts extra ttf-ipafont-gothic_00203-16+squeeze1_all.deb
 25d8e3dd2edf2c9a701aeefacde6c2c3 7175578 non-free/fonts extra ttf-ipafont-mincho_00203-16+squeeze1_all.deb
 7641eec200eebc5ff2a4dcf2c7a76508 2949502 non-free/fonts extra ttf-ipafont-uigothic_00203-16+squeeze1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRH8bhAAoJEF+zP5NZ6e0IxQEP/3LmerVU5BK0DAZSK50TYXVb
d0fyq1xTN0Z2n1+QM5DEakk95TMsiN6AYdKNChPqQOfVPvECvcZ+lJTStac3Qq26
//WfyJwPR1QvDRPcr7ySFj/jPs5cEw747kEbE2aPiImIcyl58aCgXe0V1I6bAWht
Ivz4V4r0U9pMHUrNhM80v7Osju1MAakGsAwDzt/EC7VtV9Lvch78NwoNlIEQ/6dS
aM4JBdbrs8nISJKfT8JOTbIK52jTYWyI73LL7hMrttzkqmuRUcaFOjFM9Ut2iHs6
Rd+mkkAz/7SkuJCv2nWXGIt0BPSTZswVnf00KhQDtq16j2tR5w9Mmw5YF6IfcWiN
nwuCjqmn5ZcWgD21iO+GvnDyS6mh4PYljxsWQXc/63FALuHddZvNsV7zo8TKcNSw
aqHuxk0wBEfV/k6Jr454EhFNcw1VWgQu8DtB9wOQlTyTTgWi9MDwG7CYv0OxfbZj
QJtcRVBqeJGPNEDnZ7MlE5P+Gj901cN73W/hX3ZwLNzF82kLPVaXzsaCVRu2vlo7
NLqErMd9KiPhA3PxWuak5CTF2qMa7s7dz6Mc/9+5QWnqncJlK3AbqZN7kHmaTSG0
qO+ZDHlvXM+WKWT9sOHAuOTnJqJIhM9VV0rIyXcXHbRxxPc1eiaQl7he4IuHEGFU
oW/Av/kTMvej91/d198K
=WWn4
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: