[The patch discussed in this mail is in #335426, however it was sent to
#314744 (a bug about the same issue but against scim instead of
scim-pinyin) by mistake.  Resend to #335426.]

I had a brief talk with Emfox about the patch for this bug (in Chinese,
therefore I can't just paste the log here), and following is the
summary:

My concern about his patch are:

1. The patch introduces a conffile.  As it's usually not modified by
users (but see point 2), and im-switch is not likely the ultimate
solution, this conffile is unnecessary and add quite some maintenence
burden.

2. The patch hardcodes GTK_IM_MODULE=scim, while there are quite some
good reasons for user to want to user GTK_IM_MODULE=xim instead.

3. It only benefits the zh_CN locale users.  Users with en_US.UTF-8
locale (like myself :-) still need to work on the configuration on their
own.

While (3) is more like the design problem of im-switch, (1) and (2)
should be solvable.  Emfox proposed using two separate configuration
files to set GTK_IM_MODULE as xim and scim respecitively, but that
introduces one more conffile. :-(

So I told him the most important thing is getting rid of conffiles.
There are two ideas:

I. Put the im-switch configuration files into /usr/share/scim-pinyin/,
and symlink (delete) it in postinst (prerm) script.

II. Somehow trick the debhelper scripts in debian/rules to not label the
im-switch configuration files not as conffiles.  I have no idea how to
do this, what the consequece will be, or if this is permitted by the
Policy.

So there are basically just some ideas from a brainstorm.  Hopefully
Emfox will follow up to say which ones are feasible.

Ming
2006.02.18


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to