Package: uim-common
Version: 1:1.2.1-9
Severity: normal
I think the handling of installed-modules.scm may needs improvement.
Basically, modifying conffile with other package is difficult thing
unless well thought out.
Please consider following events:
install uim-anthy
install uim-common installed-modules.scm created.
postinst uim-anthy (anthy is first chouce)
postinst uim-common (other choices created after anthy)
This is usually the case for first install. Nice anthy is first.
But if you remove and install uim-common again for some reason, the
order of registered installed-im-module-list and installed-im-list
changes (anthy become last) to break order.
Is this what you want?
Also, if you purge uim-common and reinstall it, you miss anthy.
Is this what you want?
I was annoyed by dpkg asking me to use existing file or not for
installed-modules.scm when upgrading. It is auto generated file thus I
should not be asked.
I think this is what should happen on uim-common, uim-anthy, uim-canna,
------------
postinst for uim-common:
if installed-modules.scm does not exist, create template file.
register uim-common methods ("tutcode" "tcode" "hangul" "viqr" "ipa-x-sampa"
"latin" "byeoru" "pyload" ...)
------------
postinst for uim-(anthy|canna|...):
if installed-modules.scm does not exist, create template file.
unregister uim-common methods ("tutcode" "tcode" "hangul" "viqr" "ipa-x-sampa"
"latin" "byeoru" "pyload" ...)
register anthy|canna|...
register uim-common methods ("tutcode" "tcode" "hangul" "viqr" "ipa-x-sampa"
"latin" "byeoru" "pyload" ...)
-----------
Here "create template file" means postinst script create it. I am also
relying on double registration does no harm.
The same goes with followings:
------------
prerm for uim-common:
unregister uim-common methods ("tutcode" "tcode" "hangul" "viqr" "ipa-x-sampa"
"latin" "byeoru" "pyload" ...)
if installed-modules.scm contain empty lists(just original template), remove
it.
------------
prerm for uim-(anthy|canna|...):
unregister anthy|canna|...
if installed-modules.scm contain empty lists(just original template), remove
it.
-----------
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages uim-common depends on:
ii im-switch 1.12 Input method switch framework
ii libuim3 1:1.2.1-9 Simple and flexible input method c
ii uim-utils 1:1.2.1-9 Utilities for uim
uim-common recommends no packages.
-- no debconf information
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki <[EMAIL PROTECTED]> Yokohama Japan, GPG-key: A8061F32
.''`. Debian Reference: post-installation user's guide for non-developers
: :' : http://qref.sf.net and http://people.debian.org/~osamu
`. `' "Our Priorities are Our Users and Free Software" --- Social Contract
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]