Sebastien, I think we need to talk more about how to deal with the transition. In any case 80im-switch needs to be removed or disabled, and after having thought about it, I can't see how it could be safely done in im-switch.
It would be possible to add e.g. test -f /usr/bin/im-switch || exit 0 to the top of 80im-switch, update at least Quantal and Precise with im- switch SRUs, wait a couple of weeks, and then accomplish the transition to im-config by re-merging the applicable language-selector changes. However, users who don't upgrade (often enough) would end up with a broken setup. If "dpkg-maintscript-helper rm_conffile" was used, it would be possible to have specified config files removed when people upgraded to the new im-switch version, but then the automatic launch of an input method would be disabled until the transition to im-config happened. (Maintainer scripts seem not to be run when a package is simply removed.) The postinst file I proposed may be unconventional, but it would work safely, and would do no harm. Actually, Debian does it in a similar way, i.e. there is a postinst file in im-config that removes 80im-switch. The code is not effective in Ubuntu, though, since md5sum doesn't match. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to language-selector in Ubuntu. https://bugs.launchpad.net/bugs/1076975 Title: Please port input method function to use im-config Status in Ubuntu Seeds: Fix Released Status in “im-config” package in Ubuntu: In Progress Status in “language-selector” package in Ubuntu: Fix Released Bug description: im-config is the successor of im-switch, featuring a much more elegant implementation and better handling of many details when launching input methods. Debian has moved to im-config for two years, and im- switch has been abandoned for such a long time. There aren't, and won't get any update from Debian anymore, and we are preparing the removal of im-switch from Debian. Porting the function from im-switch to im-config won't be a pain, as im-config itself provides similar command line for setting input methods. All the work needed are about adapting current code to the new situation. Please don't waste time on fixing im-switch anymore, the more you fix it the more delta get generated, and the more it gets into a badly maintained status, IMHO. This topic has been discussed in https://lists.ubuntu.com/archives /ubuntu-devel/2012-October/036055.html To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-seeds/+bug/1076975/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp