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

Bug#949921: marked as done (buster-pu: package uim_1.8.8-4+deb10u3)



Your message dated Sat, 09 May 2020 11:53:52 +0100
with message-id <fd7fa4d56896c35aab49a5a51cb69727dc60e87a.camel@adam-barratt.org.uk>
and subject line Closing requests included in 10.4 point release
has caused the Debian Bug report #949921,
regarding buster-pu: package uim_1.8.8-4+deb10u3
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.)


-- 
949921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949921
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu

We uim maintainers had an another probrem #945344.
The last update registers unusable uim modules.

diff --git a/debian/changelog b/debian/changelog
index 9b9b64b..74ffc2c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,20 @@
+uim (1:1.8.8-4+deb10u3) buster; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ NOKUBI Takatsugu ]
+  * d/libuim-data.postint: add uim-mozc (See #939588)
+
+  [ HIGUCHI Daisuke (VDR dai) ]
+  * d/libuim-data.postint: add uim-chewing
+
+  [ YOSHINO Yoshihito ]
+  * d/libuim-data.postinst: unregister not-installed modules (Closes: #945344).
+    The previous upload to fix #939588 caused regression, which has
+    accidentally registered some not-installed modules.
+
+ -- YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>  Sun, 12 Jan 2020 19:42:26 +0900
+
 uim (1:1.8.8-4+deb10u2) buster; urgency=medium
 
   [ HIGUCHI Daisuke (VDR dai) ]
diff --git a/debian/libuim-data.postinst b/debian/libuim-data.postinst
index 065385e..fd3891e 100755
--- a/debian/libuim-data.postinst
+++ b/debian/libuim-data.postinst
@@ -1,11 +1,16 @@
 #!/bin/sh
 
+register_module_was_broken=false
+
 register_module() {
     PKGNAME=$1
     MODNAME=$2
     QSTRING=$(dpkg-query -W -f='${Status}\n' $PKGNAME 2>/dev/null)
     if [ $? = "1" ]
     then
+        if $register_module_was_broken; then
+            uim-module-manager --unregister $MODNAME --path /var/lib/uim
+        fi
         return 0
     fi
     echo $QSTRING | grep "not-installed" > /dev/null
@@ -17,6 +22,17 @@ register_module() {
 
 case "$1" in
     configure)
+        if dpkg --compare-versions "$2" lt-nl "1:1.8.8-4+deb10u2.1" && \
+           dpkg --compare-versions "$2" gt "1:1.8.8-4"; then
+            # buster
+            register_module_was_broken=true
+        fi
+        if dpkg --compare-versions "$2" lt-nl "1:1.8.8-6.1~" && \
+           dpkg --compare-versions "$2" gt "1:1.8.8-5~"; then
+            # bullseye/sid
+            register_module_was_broken=true
+        fi
+
 	if which uim-module-manager >/dev/null 2>&1; then
         register_module uim-anthy anthy-utf8
         register_module uim-byeoru byeoru

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 10.4

Hi,

Each of the uploads referred to by these bugs was included in today's
stable point release.

Regards,

Adam

--- End Message ---

Reply to: