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

Bug#768526: marked as done (unblock: scim/1.4.15-3)



Your message dated Sun, 9 Nov 2014 16:47:23 +0000
with message-id <20141109164723.GA18426@lupin.home.powdarrmonkey.net>
and subject line Re: Bug#768526: unblock: scim/1.4.15-3
has caused the Debian Bug report #768526,
regarding unblock: scim/1.4.15-3
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.)


-- 
768526: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768526
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package scim

Hello,

I would like to apply the following patches to scim in unstable and have
them migrate to testing/jessie. Please let me know if you will allow a
freeze exception for all or at least some of them.  The scim package in
unstable is currently the same as in testing. Patch 3 is the one I amm
most keen on pushing into jessie.  I have yet to upload after getting
clearance or rejection for a freeze exception for these patches

Regards

Rolf Leggewie

unblock scim/1.4.15-3
>From 7076075e6cdccd43c345269e44a14f2163718f6b Mon Sep 17 00:00:00 2001
From: Tz-Huan Huang <tzhuan@gmail.com>
Date: Sun, 26 Oct 2014 19:20:33 +0800
Subject: [PATCH 1/3] control: multi-archify the scim-im-agent package

---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index 6f627fb..a74ab3b 100644
--- a/debian/control
+++ b/debian/control
@@ -154,6 +154,7 @@ Description: Clutter input method module with SCIM as backend
 
 Package: scim-im-agent
 Architecture: any
+Multi-Arch: foreign
 Pre-Depends: ${misc:Pre-Depends}
 Depends: scim-modules-socket (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Provides: scim-bridge-agent
-- 
1.9.1

>From 28c022257e4e2e3669d6068732b42f8b8969a7f9 Mon Sep 17 00:00:00 2001
From: Rolf Leggewie <foss@rolf.leggewie.biz>
Date: Wed, 5 Nov 2014 21:57:42 +0800
Subject: [PATCH 2/3] postinst: stop special-casing a long-gone package version

---
 debian/scim.postinst | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/debian/scim.postinst b/debian/scim.postinst
index 09ee9ce..1b7db15 100644
--- a/debian/scim.postinst
+++ b/debian/scim.postinst
@@ -28,30 +28,6 @@ ua_inst () {
         /etc/X11/xinit/xinput.d/$2 $3 ;
 }
 
-# If u-a is in manual mode as a result of the bug in
-# 1.4.7-3ubuntu1, reset it back to auto.
-# Also forcefully remove the scim-bridge entry from xinput_all-ALL in u-a.
-if dpkg --compare-versions "$2" ge 1.4.7-3ubuntu1 \
-   && dpkg --compare-versions "$2" lt-nl 1.4.7-3ubuntu5
-then
-	for conf in ja_JP ko_KR zh_CN zh_HK zh_SG zh_TW all_ALL
-	do
-		if LC_ALL=C update-alternatives --display xinput-${conf} \
-		   | grep -q 'status is manual' \
-		   && LC_ALL=C update-alternatives --display xinput-${conf} \
-		   | grep -q 'currently points to .*scim-bridge'
-		then
-			update-alternatives --auto xinput-${conf}
-		fi
-	done
-	if LC_ALL=C update-alternatives --display xinput-all_ALL \
-	   | grep -q 'currently points to .*scim-bridge'
-	then 
-		update-alternatives --remove xinput-all_ALL \
-		   /etc/X11/xinit/xinput.d/scim-bridge
-	fi
-fi
-
 case "$1" in
     configure)
         # Set up default
@@ -87,5 +63,3 @@ esac
 #DEBHELPER#
 
 exit 0
-
-
-- 
1.9.1

>From f4dd743aa8f12769676bb63dfa58b7531638c64f Mon Sep 17 00:00:00 2001
From: Rolf Leggewie <foss@rolf.leggewie.biz>
Date: Wed, 5 Nov 2014 22:10:46 +0800
Subject: [PATCH 3/3] prerm: stop calling "ua --remove" on upgrade and deconfigure. See #71621

---
 debian/scim.prerm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/scim.prerm b/debian/scim.prerm
index 75d63e9..06bea3f 100644
--- a/debian/scim.prerm
+++ b/debian/scim.prerm
@@ -8,7 +8,7 @@ ua_remove () {
 }
 
 case "$1" in
-    remove|upgrade|deconfigure)
+    remove)
         ua_remove all_ALL scim
         ua_remove ja_JP   scim
         ua_remove ko_KR   scim
-- 
1.9.1


--- End Message ---
--- Begin Message ---
On Sun, Nov 09, 2014 at 12:09:03AM +0800, Rolf Leggewie wrote:
> On 08.11.2014 20:17, Jonathan Wiltshire wrote:
> > Control: tag -1 - moreinfo + confirmed
> > 
> > On Sat, Nov 08, 2014 at 07:10:09PM +0800, Rolf Leggewie wrote:
> >> Patch 3 is addressing what is discussed in #71621, that
> >> "update-alternative --remove" should not be called on upgrade or
> >> deconfigure.  There's potential data loss of user-configured data if it
> >> is done nonetheless.
> > 
> > Please upload a fix for that only, and ping this bug when it's installed.
> 
> Done.
> 
> 1.4.15-3 has been uploaded to unstable with patch 3 only.

Thanks, unblocked.

-- 
Jonathan Wiltshire                                      jmw@debian.org
Debian Developer                         http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: