Bug#768526: unblock: scim/1.4.15-3

2014-11-08 Thread Rolf Leggewie
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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#768526: unblock: scim/1.4.15-3

2014-11-08 Thread Jonathan Wiltshire
Control: tag -1 - moreinfo + confirmed

On Sat, Nov 08, 2014 at 07:10:09PM +0800, Rolf Leggewie wrote:
> On 08.11.2014 17:35, Jonathan Wiltshire wrote:
> > Control: tag -1 moreinfo
> > 
> > On Sat, Nov 08, 2014 at 12:21:14PM +0800, Rolf Leggewie wrote:
> >> 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
> > 
> > Definitely not the first two. What's the problem that patch 3 fixes?
> 
> Thank you for the clear answer.
> 
> 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.

Thanks,

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

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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#768526: unblock: scim/1.4.15-3

2014-11-08 Thread Rolf Leggewie
On 08.11.2014 17:35, Jonathan Wiltshire wrote:
> Control: tag -1 moreinfo
> 
> On Sat, Nov 08, 2014 at 12:21:14PM +0800, Rolf Leggewie wrote:
>> 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
> 
> Definitely not the first two. What's the problem that patch 3 fixes?

Thank you for the clear answer.

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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#768526: unblock: scim/1.4.15-3

2014-11-08 Thread Jonathan Wiltshire
Control: tag -1 moreinfo

On Sat, Nov 08, 2014 at 12:21:14PM +0800, Rolf Leggewie wrote:
> 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

Definitely not the first two. What's the problem that patch 3 fixes?

Thanks,

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

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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#768526: unblock: scim/1.4.15-3

2014-11-07 Thread Rolf Leggewie
Package: release.debian.org
Severity: normal
User: release.debian@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 
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 
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 
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